]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
kernfs: make kernfs_get_inode() public
authorTejun Heo <tj@kernel.org>
Thu, 18 Jun 2015 20:54:28 +0000 (16:54 -0400)
committerTejun Heo <tj@kernel.org>
Thu, 18 Jun 2015 20:54:28 +0000 (16:54 -0400)
commitfb02915f47181e824339d91f8e385fd4bd746d6a
tree217cfb70b2b3d3e1d9eeb5398fe13c61aad3b2c2
parent4d205676c1028f21760ef1fa57af0628349e0aed
kernfs: make kernfs_get_inode() public

Move kernfs_get_inode() prototype from fs/kernfs/kernfs-internal.h to
include/linux/kernfs.h.  It obtains the matching inode for a
kernfs_node.

It will be used by cgroup for inode based permission checks for now
but is generally useful.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/kernfs/kernfs-internal.h
include/linux/kernfs.h