diff options
author | Tejun Heo <tj@kernel.org> | 2013-11-28 14:54:17 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-29 17:33:46 -0800 |
commit | 50b38ca086e4d9920eede98b871b971e9958d70d (patch) | |
tree | 0dc2d4f8066b15f25747fa5c024544158135ad1b /mm/compaction.c | |
parent | c2b19daf6760fae9d5db9e9d1683644728888293 (diff) | |
download | linux-50b38ca086e4d9920eede98b871b971e9958d70d.tar.bz2 |
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 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions