commit | 06fc0d66f7ed3a3b08e8fcf8c325ecf0b8f93fea | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Fri Nov 20 16:08:54 2009 -0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Dec 11 11:24:54 2009 -0800 |
tree | a599fc1cabf3564745ac03bc3e70c7211dc8081e | |
parent | e61ab4ae48fbf477f5b9fcbec9e1b8dc789920d0 [diff] |
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 <tj@kernel.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>