summaryrefslogtreecommitdiffstats
path: root/crypto/ahash.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@aristanetworks.com>2010-09-20 09:57:03 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 19:16:43 +0200
commit38f49a5132f24d29236820eb5c7dd956e47f94a3 (patch)
treeeb2d3184996d01babcf3689dd20d626f731d340a /crypto/ahash.c
parentsysfs: Fail bin file mmap if vma close is implemented. (diff)
downloadlinux-38f49a5132f24d29236820eb5c7dd956e47f94a3.tar.xz
linux-38f49a5132f24d29236820eb5c7dd956e47f94a3.zip
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>
Diffstat (limited to 'crypto/ahash.c')
0 files changed, 0 insertions, 0 deletions