alistair23-linux/fs/sysfs
Tejun Heo f88123eaf9 sysfs: fix sysfs_chmod_file() such that it updates sd->s_mode too
sysfs_chmod_file() looked and updated only inode of the target file.
Dentry and inode are reclaimable and the update mode data will go away
when the inode is reclaimed.  This patch makes sysfs_chmod_file()
update sd->s_mode too such that the change is permanent.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:51:09 -07:00
..
bin.c sysfs: cleanup semaphore.h 2007-10-12 14:51:03 -07:00
dir.c sysfs: fix comments of sysfs_add/remove_one() 2007-10-12 14:51:09 -07:00
file.c sysfs: fix sysfs_chmod_file() such that it updates sd->s_mode too 2007-10-12 14:51:09 -07:00
group.c sysfs: Remove first pass at shadow directory support 2007-10-12 14:51:03 -07:00
inode.c sysfs: Remove sysfs_instantiate 2007-10-12 14:51:07 -07:00
Makefile
mount.c sysfs: Remove s_dentry 2007-10-12 14:51:08 -07:00
symlink.c sysfs: Make sysfs_mount static 2007-10-12 14:51:07 -07:00
sysfs.h sysfs: Remove s_dentry 2007-10-12 14:51:08 -07:00