Re: [PATCH 1/7] kernfs: Add API to generate relative kernfs path

Greg KH
2015-12-09T00:48:00Z

On Mon, Dec 07, 2015 at 05:06:16PM -0600, serge.hallyn@ubuntu.com wrote:
> From: Aditya Kali <adityakali@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 :(