sysfs, kernfs: move file core code to fs/kernfs/file.c
authorTejun Heo <tj@kernel.org>
Thu, 28 Nov 2013 19:54:34 +0000 (14:54 -0500)
committerPawel Osmialowski <p.osmialowsk@mcdsrvbld02.digital.local>
Fri, 27 Mar 2015 17:13:17 +0000 (18:13 +0100)
commit1e8c4ab66c5161e20936d030a02819c3065bed59
tree936a70ddd2fba9b2daf1b5ebaf3900f5b9682698
parent272373cbfc84a68a3986e9cf0fe1b5433e8c7ce7
sysfs, kernfs: move file core code to fs/kernfs/file.c

Move core file code to fs/kernfs/file.c.  fs/sysfs/file.c now contains
sysfs kernfs_ops callbacks, sysfs wrappers around kernfs interfaces,
and sysfs_schedule_callback().  The respective declarations in
fs/sysfs/sysfs.h are moved to fs/kernfs/kernfs-internal.h.

This is pure relocation.

v2: Refreshed on top of the v2 of "sysfs, kernfs: prepare read path
    for kernfs".

v3: Refreshed on top of the v3 of "sysfs, kernfs: prepare read path
    for kernfs".

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