[lxc-devel] [PATCH 1/7] kernfs: Add API to generate relative kernfs path

Serge E. Hallyn serge.hallyn at ubuntu.com
Wed Dec 9 01:17:07 UTC 2015


On Tue, Dec 08, 2015 at 06:51:20AM -0500, Greg KH wrote:
> On Mon, Dec 07, 2015 at 05:06:16PM -0600, serge.hallyn at ubuntu.com wrote:
> > From: Aditya Kali <adityakali at google.com>
> > 
> > The new function kernfs_path_from_node() generates and returns kernfs
> > path of a given kernfs_node relative to a given parent kernfs_node.
> > 
> > Changelog 20151125:
> >   - Fully-wing multilinecomments
> >   - Rework kernfs_path_from_node_locked() logic
> >   - Replace BUG_ONs with returning NULL
> >   - Use a const char* for /.. and precalculate its size
> > Changelog 20151130:
> >   - Update kernfs_path_from_node_locked comment
> 
> changes should go below the --- line, not here in the body of the
> changelog that will show up in git :(

Right, thanks.  I've changed them all to add a --- before the changelog.
The format-patch ends up looking a bit weird with two --- lines, but
subsequent git am does the right thing, so hopefully this is the right
way.


More information about the lxc-devel mailing list