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)
committerPawel Osmialowski <p.osmialowsk@mcdsrvbld02.digital.local>
Fri, 27 Mar 2015 17:13:15 +0000 (18:13 +0100)
commit7e9d2be9ca2b9deea25ca27b661c950986c274a9
treecf4ef16153a794c3d1c25dd273adb57c8a332bce
parentc98a905eed955b8c7d65c447798bd5cc56a18021
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