aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sysfs/sysfs.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-11-20 16:08:54 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-12-11 11:24:54 -0800
commit06fc0d66f7ed3a3b08e8fcf8c325ecf0b8f93fea (patch)
treea599fc1cabf3564745ac03bc3e70c7211dc8081e /fs/sysfs/sysfs.h
parentsysfs: Implement sysfs_getattr & sysfs_permission (diff)
downloadlinux-dev-06fc0d66f7ed3a3b08e8fcf8c325ecf0b8f93fea.tar.xz
linux-dev-06fc0d66f7ed3a3b08e8fcf8c325ecf0b8f93fea.zip
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>
Diffstat (limited to 'fs/sysfs/sysfs.h')
0 files changed, 0 insertions, 0 deletions