From: Maneesh Soni Date: Fri, 29 Jul 2005 19:14:19 +0000 (-0700) Subject: [PATCH] sysfs: fix sysfs_setattr X-Git-Tag: v2.6.13-rc5~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ca1eb3282b6050c295adb296761f8d26baf4ca5;p=pandora-kernel.git [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 Signed-off-by: Greg Kroah-Hartman Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed