Btrfs: many allocator fixes, pretty solid
Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index 8bbe910..f0f0312 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -122,7 +122,8 @@
}
dirty_pages = &trans->transaction->dirty_pages;
while(1) {
- ret = find_first_radix_bit(dirty_pages, gang, ARRAY_SIZE(gang));
+ ret = find_first_radix_bit(dirty_pages, gang,
+ 0, ARRAY_SIZE(gang));
if (!ret)
break;
for (i = 0; i < ret; i++) {