summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorManeesh Soni <maneesh@in.ibm.com>2005-07-29 12:14:19 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-29 13:12:49 -0700
commit9ca1eb3282b6050c295adb296761f8d26baf4ca5 (patch)
tree1750560628f01102186150f62791703ea3bde6e8 /lib
parentbc062b1b5c6bef4e3a29c7fda57967251d12beb0 (diff)
downloadtalos-op-linux-9ca1eb3282b6050c295adb296761f8d26baf4ca5.tar.gz
talos-op-linux-9ca1eb3282b6050c295adb296761f8d26baf4ca5.zip
[PATCH] sysfs: fix sysfs_setattr
o sysfs_dirent's s_mode field should also be updated in sysfs_setattr(), else there could be inconsistency in the two fields. s_mode is used while ->readdir so as not to bring in the inode to 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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud