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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Nov 2013 02:08:39 +0000 (18:08 -0800)
commit414985ae23c031efbd6d16d484dea8b5de28b8f7
tree06813b5fec1e2e46d9a86cd79e0dd9d23a8d51a0
parentfd7b9f7b9776b11df629e9dd3865320bf57ce588
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