kernel-aes67/fs/sysfs
Miklos Szeredi 93265d13ea 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 <mszeredi@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-21 21:54:57 -07:00
..
bin.c sysfs: add copyrights 2007-10-12 14:51:12 -07:00
dir.c sysfs: remove error messages for -EEXIST case 2008-05-14 22:34:16 -07:00
file.c sysfs: don't call notify_change 2008-07-21 21:54:57 -07:00
group.c [SCSI] sysfs: make group is_valid return a mode_t 2008-04-22 15:16:31 -05:00
inode.c sysfs: Disallow truncation of files in sysfs 2008-04-30 16:52:46 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mount.c fs: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:54 -07:00
symlink.c sysfs: Allow removal of symlinks in the sysfs root 2008-04-18 08:56:10 -07:00
sysfs.h [SCSI] sysfs: make group is_valid return a mode_t 2008-04-22 15:16:31 -05:00