Btrfs: more allocator enhancements
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:

committed by
David Woodhouse

parent
be08c1b9f8
commit
be74417553
@@ -26,8 +26,10 @@ int set_radix_bit(struct radix_tree_root *radix, unsigned long bit)
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
set_bit(bit_slot, bits + 1);
|
||||
return 0;
|
||||
ret = test_and_set_bit(bit_slot, bits + 1);
|
||||
if (ret < 0)
|
||||
ret = 1;
|
||||
return ret;
|
||||
}
|
||||
|
||||
int test_radix_bit(struct radix_tree_root *radix, unsigned long bit)
|
||||
|
Reference in New Issue
Block a user