aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r--fs/btrfs/transaction.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index 8bbe9107ff7e..f0f03121b7b2 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -122,7 +122,8 @@ int btrfs_write_and_wait_transaction(struct btrfs_trans_handle *trans,
122 } 122 }
123 dirty_pages = &trans->transaction->dirty_pages; 123 dirty_pages = &trans->transaction->dirty_pages;
124 while(1) { 124 while(1) {
125 ret = find_first_radix_bit(dirty_pages, gang, ARRAY_SIZE(gang)); 125 ret = find_first_radix_bit(dirty_pages, gang,
126 0, ARRAY_SIZE(gang));
126 if (!ret) 127 if (!ret)
127 break; 128 break;
128 for (i = 0; i < ret; i++) { 129 for (i = 0; i < ret; i++) {