提交 5f6e3c83 编写于 作者: A Alexey Dobriyan 提交者: Linus Torvalds

[PATCH] md: use BUILD_BUG_ON

Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
Acked-by: NNeil Brown <neilb@suse.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 76fd0209
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册