sysfs, kernfs: move sysfs_open_file to include/linux/kernfs.h
authorTejun Heo <tj@kernel.org>
Thu, 28 Nov 2013 19:54:20 +0000 (14:54 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Nov 2013 01:35:05 +0000 (17:35 -0800)
commitdd8a5b036b6e8d50854e130555f90f062c5eacec
tree3fdab4cdb96462d06ea060de2de4ffe2467c531e
parentc6fb449515f23edea828fb90a460d3622e261dba
sysfs, kernfs: move sysfs_open_file to include/linux/kernfs.h

sysfs_open_file will be used as the primary handle for kernfs methods.
Move its definition from fs/sysfs/file.c to include/linux/kernfs.h and
mark the public and private fields.

This is pure relocation.

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