summaryrefslogtreecommitdiff
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2008-03-05 01:28:33 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-03-05 03:35:10 +0300
commite3892296de632e3f9299d9fabe0c746740004891 (patch)
treea6162f566e5ec6b0e099a79e7a59005fcfe9be4b /lib/bitmap.c
parent10ed273f5016c582413dfbc468dd084957d847e1 (diff)
downloadlinux-e3892296de632e3f9299d9fabe0c746740004891.tar.xz
vfs: fix NULL pointer dereference in fsync_buffers_list()
Fix NULL pointer dereference in fsync_buffers_list() introduced by recent fix of races in private_list handling. Since bh->b_assoc_map has been cleared in __remove_assoc_queue() we should really use original value stored in the 'mapping' variable. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions