Commit 00079e04 authored by Eric Eric Sesterhenn's avatar Eric Eric Sesterhenn Committed by Linus Torvalds
Browse files

[PATCH] reiserfs: null pointer dereferencing in reiserfs_read_bitmap_block

null pointer dereferencing in reiserfs_read_bitmap_block.
Signed-off-by: default avatarAlexander Zarochentsev <>
Cc: Jeff Mahoney <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 5c339d45
......@@ -1304,8 +1304,8 @@ struct buffer_head *reiserfs_read_bitmap_block(struct super_block *sb,
bh = sb_bread(sb, block);
if (bh == NULL)
reiserfs_warning(sb, "sh-2029: %s: bitmap block (#%lu) "
"reading failed", __FUNCTION__, bh->b_blocknr);
reiserfs_warning(sb, "sh-2029: %s: bitmap block (#%u) "
"reading failed", __FUNCTION__, block);
else {
if (buffer_locked(bh)) {
PROC_INFO_INC(sb, scan_bitmap.wait);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment