X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Freiserfs%2Fdo_balan.c;h=2118db2896c7c2491777f10ec15d0842e87a2ce2;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=4faa486859075f826759f7002aac016483e6039e;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/fs/reiserfs/do_balan.c b/fs/reiserfs/do_balan.c index 4faa48685..2118db289 100644 --- a/fs/reiserfs/do_balan.c +++ b/fs/reiserfs/do_balan.c @@ -1341,7 +1341,7 @@ static void check_internal_node (struct super_block * s, struct buffer_head * bh static int locked_or_not_in_tree (struct buffer_head * bh, char * which) { - if ( (!reiserfs_buffer_prepared(bh) && buffer_locked (bh)) || + if ( (!buffer_journal_prepared (bh) && buffer_locked (bh)) || !B_IS_IN_TREE (bh) ) { reiserfs_warning (NULL, "vs-12339: locked_or_not_in_tree: %s (%b)", which, bh); @@ -1382,7 +1382,7 @@ static int check_before_balancing (struct tree_balance * tb) } -void check_after_balance_leaf (struct tree_balance * tb) +static void check_after_balance_leaf (struct tree_balance * tb) { if (tb->lnum[0]) { if (B_FREE_SPACE (tb->L[0]) != @@ -1422,14 +1422,14 @@ void check_after_balance_leaf (struct tree_balance * tb) } -void check_leaf_level (struct tree_balance * tb) +static void check_leaf_level (struct tree_balance * tb) { check_leaf (tb->L[0]); check_leaf (tb->R[0]); check_leaf (PATH_PLAST_BUFFER (tb->tb_path)); } -void check_internal_levels (struct tree_balance * tb) +static void check_internal_levels (struct tree_balance * tb) { int h;