mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-01 16:44:26 +00:00
[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>
This commit is contained in:
parent
76fd020937
commit
5f6e3c8365
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user