aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-cache.c
diff options
context:
space:
mode:
authorStoyan Gaydarov <stoyboyker@gmail.com>2009-04-02 17:05:11 -0400
committerChris Mason <chris.mason@oracle.com>2009-04-02 17:05:11 -0400
commitc293498be69816087746161338de4b81efdf69fc (patch)
tree32b856b67ca63e2649c8574c9a09352666362ec8 /fs/btrfs/free-space-cache.c
parent3e7ad38d20ad113158d1b4c9de0f51c04f50d4f7 (diff)
Btrfs: BUG to BUG_ON changes
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
-rw-r--r--fs/btrfs/free-space-cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index 3fdadd28e935..768b9523662d 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -253,8 +253,7 @@ int btrfs_add_free_space(struct btrfs_block_group_cache *block_group,
253 253
254 if (ret) { 254 if (ret) {
255 printk(KERN_ERR "btrfs: unable to add free space :%d\n", ret); 255 printk(KERN_ERR "btrfs: unable to add free space :%d\n", ret);
256 if (ret == -EEXIST) 256 BUG_ON(ret == -EEXIST);
257 BUG();
258 } 257 }
259 258
260 return ret; 259 return ret;