git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs: use BUG() instead of BUG_ON(1)
[sfrench/cifs-2.6.git]
/
fs
/
btrfs
/
volumes.c
diff --git
a/fs/btrfs/volumes.c
b/fs/btrfs/volumes.c
index db934ceae9c109f39eade85457a25b8ce99604ae..fcb0d3f34e0957a004c400cb44ffcf1e1413703b 100644
(file)
--- a/
fs/btrfs/volumes.c
+++ b/
fs/btrfs/volumes.c
@@
-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 */