hi,

coverity spotted another dereference in the reiser code,
which i am able to verify, but not sure how to fix:


1305            bh = sb_bread(sb, block);
1306            if (bh == NULL)
1307                    reiserfs_warning(sb, "sh-2029: %s: bitmap block (#%lu) "
1308                                     "reading failed", __FUNCTION__, 
bh->b_blocknr);

if bh is NULL, we dereference it in the warning as bh->b_blocknr.
Maybe one of you guys knows what warning is useful to print in this
case and can cook up a patch for this.

Thanks, Eric

Reply via email to