mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[PATCH] md: use BUILD_BUG_ON
Signed-off-by: Alexey Dobriyan <[email protected]> Acked-by: Neil Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
76fd020937
commit
5f6e3c8365
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue