linux-IllusionX/fs/sysfs
Eric W. Biederman 38f49a5132 sysfs: only access bin file vm_ops with the active lock
bb->vm_ops is a cached copy of the vm_ops of the underlying
sysfs bin file, which means that after sysfs_bin_remove_file
completes it is only longer valid to deference bb->vm_ops.

So move all of the tests of bb->vm_ops inside of where
we hold the sysfs active lock.

Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-22 10:16:43 -07:00
..
bin.c sysfs: only access bin file vm_ops with the active lock 2010-10-22 10:16:43 -07:00
dir.c sysfs: Comment sysfs directory tagging logic 2010-05-21 09:37:31 -07:00
file.c sysfs: checking for NULL instead of ERR_PTR 2010-09-03 17:26:28 -07:00
group.c sysfs: Implement sysfs tagged directory support. 2010-05-21 09:37:31 -07:00
inode.c switch sysfs to ->evict_inode() 2010-08-09 16:47:53 -04:00
Kconfig fs/Kconfig: move sysfs out 2009-01-22 13:15:56 +03:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mount.c switch sysfs to ->evict_inode() 2010-08-09 16:47:53 -04:00
symlink.c sysfs: allow creating symlinks from untagged to tagged directories 2010-07-26 12:02:41 -07:00
sysfs.h switch sysfs to ->evict_inode() 2010-08-09 16:47:53 -04:00