diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-10-11 12:22:26 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-11 22:14:26 +0400 |
commit | 5f6e3c836508926e50cebe17ad87f59666a7fb47 (patch) | |
tree | b485fa971b0c17bc16fb81fd5cb8bc5646ce0188 /drivers/md/bitmap.c | |
parent | 76fd020937f2d09f76a4cd8dbae1f3bec640ff0b (diff) | |
download | linux-5f6e3c836508926e50cebe17ad87f59666a7fb47.tar.xz |
[PATCH] md: use BUILD_BUG_ON
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/bitmap.c')
-rw-r--r-- | drivers/md/bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index 8e67634e79a0..d47d38ac71b1 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c @@ -1413,7 +1413,7 @@ int bitmap_create(mddev_t *mddev) int err; sector_t start; - BUG_ON(sizeof(bitmap_super_t) != 256); + BUILD_BUG_ON(sizeof(bitmap_super_t) != 256); if (!file && !mddev->bitmap_offset) /* bitmap disabled, nothing to do */ return 0; |