btrfs: use BUG() instead of BUG_ON(1)
[sfrench/cifs-2.6.git] / fs / btrfs / volumes.c
index db934ceae9c109f39eade85457a25b8ce99604ae..fcb0d3f34e0957a004c400cb44ffcf1e1413703b 100644 (file)
@@ -5038,7 +5038,7 @@ static int __btrfs_alloc_chunk(struct btrfs_trans_handle *trans,
        } else {
                btrfs_err(info, "invalid chunk type 0x%llx requested",
                       type);
-               BUG_ON(1);
+               BUG();
        }
 
        /* We don't want a chunk larger than 10% of writable space */