aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/bit-radix.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-04-02 14:53:59 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-04-02 14:53:59 -0400
commit7cfcc17e7f2334a0503331264c1340de4e564c85 (patch)
tree4ce6ac8520382673006845ec20b2ad83abc9258a /fs/btrfs/bit-radix.c
parent5caf2a002901f0fde475371c4bf1c553b51884af (diff)
Btrfs: corruptions fixed
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/bit-radix.c')
-rw-r--r--fs/btrfs/bit-radix.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/bit-radix.c b/fs/btrfs/bit-radix.c
index a50a1c44eabd..783f54c2a16c 100644
--- a/fs/btrfs/bit-radix.c
+++ b/fs/btrfs/bit-radix.c
@@ -62,7 +62,6 @@ int clear_radix_bit(struct radix_tree_root *radix, unsigned long bit)
62 if (!bits) 62 if (!bits)
63 return 0; 63 return 0;
64 clear_bit(bit_slot, bits + 1); 64 clear_bit(bit_slot, bits + 1);
65#if 0
66 for (i = 1; i < BIT_ARRAY_BYTES / sizeof(unsigned long); i++) { 65 for (i = 1; i < BIT_ARRAY_BYTES / sizeof(unsigned long); i++) {
67 if (bits[i]) { 66 if (bits[i]) {
68 empty = 0; 67 empty = 0;
@@ -74,7 +73,6 @@ int clear_radix_bit(struct radix_tree_root *radix, unsigned long bit)
74 BUG_ON(!bits); 73 BUG_ON(!bits);
75 kmem_cache_free(btrfs_bit_radix_cachep, bits); 74 kmem_cache_free(btrfs_bit_radix_cachep, bits);
76 } 75 }
77#endif
78 return 0; 76 return 0;
79} 77}
80 78