From: Maneesh Soni Date: Tue, 31 May 2005 05:09:14 +0000 (+0530) Subject: [PATCH] sysfs-iattr: add sysfs_setattr X-Git-Tag: v2.6.13-rc1~68^2~583^2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=988d186de5b6966a71a8cc52e6cb4895fd2f7799;p=pandora-kernel.git [PATCH] sysfs-iattr: add sysfs_setattr o This adds ->i_op->setattr VFS method for sysfs inodes. The changed attribues are saved in the persistent sysfs_dirent structure as a pointer to struct iattr. The struct iattr is allocated only for those sysfs_dirent's for which default attributes are getting changed. Thanks to Jon Smirl for this suggestion. Signed-off-by: Maneesh Soni Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed