]> err.no Git - linux-2.6/commit
[PATCH] sysfs: fix sysfs_chmod_file
authorManeesh Soni <maneesh@in.ibm.com>
Fri, 29 Jul 2005 19:13:35 +0000 (12:13 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Jul 2005 20:12:49 +0000 (13:12 -0700)
commitbc062b1b5c6bef4e3a29c7fda57967251d12beb0
tree57dceb8371d0e83e7772b3deeb4a9e8dd2ae6b03
parent30d07a22a19329c89628a2057b0120245c482c9e
[PATCH] sysfs: fix sysfs_chmod_file

o sysfs_chmod_file() must update the new iattr field in sysfs_dirent else
  the mode change will not be persistent in case of inode evacuation from
  cache.

Signed-off-by: Maneesh Soni <maneesh@in.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/sysfs/file.c