From: Eric W. Biederman Date: Sat, 21 Nov 2009 00:08:54 +0000 (-0800) Subject: sysfs: In sysfs_chmod_file lazily propagate the mode change. X-Git-Tag: v2.6.33-rc1~314^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06fc0d66f7ed3a3b08e8fcf8c325ecf0b8f93fea;p=pandora-kernel.git sysfs: In sysfs_chmod_file lazily propagate the mode change. Now that sysfs_getattr and sysfs_permission refresh the vfs inode there is no need to immediatly push the mode change into the vfs cache. Reducing the amount of work needed and simplifying the locking. Acked-by: Tejun Heo Acked-by: Serge Hallyn Signed-off-by: Eric W. Biederman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed