From: Tejun Heo Date: Thu, 28 Nov 2013 19:54:17 +0000 (-0500) Subject: sysfs, kernfs: prepare write path for kernfs X-Git-Tag: v3.14-rc1~151^2~104 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50b38ca086e4d9920eede98b871b971e9958d70d;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed