Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f6e3c83 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds
Browse files

[PATCH] md: use BUILD_BUG_ON

parent 76fd0209
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;