summaryrefslogtreecommitdiffstats
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-11-28 14:54:17 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-29 17:33:46 -0800
commit50b38ca086e4d9920eede98b871b971e9958d70d (patch)
tree0dc2d4f8066b15f25747fa5c024544158135ad1b /fs/read_write.c
parentc2b19daf6760fae9d5db9e9d1683644728888293 (diff)
downloadop-kernel-dev-50b38ca086e4d9920eede98b871b971e9958d70d.zip
op-kernel-dev-50b38ca086e4d9920eede98b871b971e9958d70d.tar.gz
sysfs, kernfs: prepare write path for kernfs
We're in the process of separating out core sysfs functionality into kernfs which will deal with sysfs_dirents directly. This patch rearranges write path so that the kernfs and sysfs parts are separate. kernfs_file_write() handles all boilerplate work including buffer management and locking and invokes sysfs_kf_write() or sysfs_kf_bin_write() depending on the file type which deals with the interaction with kobj store or bin_attribute write method. While this patch changes the order of some operations, it shouldn't change any visible behavior. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud