sysfs, kernfs: prepare open, release, poll paths for kernfs
authorTejun Heo <tj@kernel.org>
Thu, 28 Nov 2013 19:54:19 +0000 (14:54 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Nov 2013 01:35:05 +0000 (17:35 -0800)
commitc6fb449515f23edea828fb90a460d3622e261dba
tree033c7d86147c0773f06854e40f76feae8df3c22e
parentfdbffaa478fc77e999cbe2ac0dcfbf609103e675
sysfs, kernfs: prepare open, release, poll paths for kernfs

We're in the process of separating out core sysfs functionality into
kernfs which will deal with sysfs_dirents directly.  This patch
prepares the rest - open, release and poll.  There isn't much to do.
Just renaming is enough.  As sysfs_file_operations and
sysfs_bin_operations are identical now, use the same file_operations
for both - kernfs_file_operations.

This patch doesn't introduce any behavior changes.

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