aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-10-11 01:22:26 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-11 11:14:26 -0700
commit5f6e3c836508926e50cebe17ad87f59666a7fb47 (patch)
treeb485fa971b0c17bc16fb81fd5cb8bc5646ce0188 /drivers/md
parent[PATCH] ISDN: several minor fixes (diff)
downloadlinux-dev-5f6e3c836508926e50cebe17ad87f59666a7fb47.tar.xz
linux-dev-5f6e3c836508926e50cebe17ad87f59666a7fb47.zip
[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')
-rw-r--r--drivers/md/bitmap.c2
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;