[PATCH] md: use BUILD_BUG_ON

From: Alexey Dobriyan
Date: Sun Oct 08 2006 - 07:52:32 EST


Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

drivers/md/bitmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/