reiserfs: Fix compilation breakage with CONFIG_REISERFS_CHECK
authorJan Kara <jack@suse.cz>
Wed, 11 Jun 2014 15:29:26 +0000 (17:29 +0200)
committerJan Kara <jack@suse.cz>
Wed, 11 Jun 2014 15:32:10 +0000 (17:32 +0200)
There was a bug in debug printout when CONFIG_REISERFS_CHECK was
enabled so one of the assertions in do_balan.c didn't compile. Fix it.

Fixes: 0080e9f9d3ac717537dbd6db1fc8ef72ce0b9cc1
Signed-off-by: Jan Kara <jack@suse.cz>
fs/reiserfs/do_balan.c

index 547575c1c3c0f8ee42d358afc76825cf353e9bb6..54fdf196bfb29c736c0ecf89490a1688a5edaafe 100644 (file)
@@ -1249,7 +1249,7 @@ static void balance_leaf_new_nodes(struct tree_balance *tb,
                       || buffer_journal_dirty(tb->S_new[i])
                       || buffer_dirty(tb->S_new[i]),
                       "PAP-12247: S_new[%d] : (%b)",
-                      i, format_bh(tb->S_new[i]));
+                      i, tb->S_new[i]);
        }
 }