commit | fb02915f47181e824339d91f8e385fd4bd746d6a | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Thu Jun 18 16:54:28 2015 -0400 |
committer | Tejun Heo <tj@kernel.org> | Thu Jun 18 16:54:28 2015 -0400 |
tree | 217cfb70b2b3d3e1d9eeb5398fe13c61aad3b2c2 | |
parent | 4d205676c1028f21760ef1fa57af0628349e0aed [diff] |
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>