From: Miklos Szeredi Date: Mon, 16 Jun 2008 11:46:47 +0000 (+0200) Subject: sysfs: don't call notify_change X-Git-Tag: v2.6.27-rc1~866^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93265d13ea5c3ec5f61a8009407fbe046ce6b7c0;p=pandora-kernel.git sysfs: don't call notify_change sysfs_chmod_file() calls notify_change() to change the permission bits on a sysfs file. Replace with explicit call to sysfs_setattr() and fsnotify_change(). This is equivalent, except that security_inode_setattr() is not called. This function is called by drivers, so the security checks do not make any sense. Signed-off-by: Miklos Szeredi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed