diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-05-09 20:13:14 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-05-09 20:13:14 -0400 |
commit | e37c9e6921207cf503634b06bee37ecb7904408d (patch) | |
tree | 6f04d434ce9407b01b1fa36139ae8ffc7957fd1c /fs/btrfs/transaction.c | |
parent | 3e1ad54fe2839319c1aa66b954da0753f5b1f906 (diff) |
Btrfs: many allocator fixes, pretty solid
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 3 |
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++) { |