commit | 9f6df573a4041f896cbf51f1b3743494196620a7 | [log] [tgz] |
---|---|---|
author | Aditya Kali <adityakali@google.com> | Fri Jan 29 02:54:04 2016 -0600 |
committer | Tejun Heo <tj@kernel.org> | Tue Feb 16 13:04:58 2016 -0500 |
tree | 4ff0db9f1e815317630b24fdd32154eb72187d9e | |
parent | 223ffb29f9723a4b485cacf6dc7e6d639fffc322 [diff] |
kernfs: Add API to generate relative kernfs path The new function kernfs_path_from_node() generates and returns kernfs path of a given kernfs_node relative to a given parent kernfs_node. Signed-off-by: Aditya Kali <adityakali@google.com> Signed-off-by: Serge E. Hallyn <serge.hallyn@canonical.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Tejun Heo <tj@kernel.org>