]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/reiserfs/do_balan.c
writeback: check for registered bdi in flusher add and inode dirty
[karo-tx-linux.git] / fs / reiserfs / do_balan.c
index 4beb964a2a3e602d4fc1723597d9ad5b669ff1c0..128d3f7c8aa5a56a9ca6ad38487034dbdcaf9b92 100644 (file)
@@ -1270,9 +1270,8 @@ static int balance_leaf(struct tree_balance *tb, struct item_head *ih,    /* item h
 
                                        RFALSE(ih, "PAP-12210: ih must be 0");
 
-                                       if (is_direntry_le_ih
-                                           (aux_ih =
-                                            B_N_PITEM_HEAD(tbS0, item_pos))) {
+                                       aux_ih = B_N_PITEM_HEAD(tbS0, item_pos);
+                                       if (is_direntry_le_ih(aux_ih)) {
                                                /* we append to directory item */
 
                                                int entry_count;