Commit 06fc0d66 authored by Committed by Greg Kroah-HartmanBrowse files
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 <firstname.lastname@example.org> Acked-by: Serge Hallyn <email@example.com> Signed-off-by: Eric W. Biederman <firstname.lastname@example.org> Signed-off-by: Greg Kroah-Hartman <email@example.com>