diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 03:20:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 03:20:40 +0000 |
commit | a8c8b888d4bc9152a17cba6fb0a58856f53d3ff8 (patch) | |
tree | 215fdd019f8ce6f7a919cf37fae0b98163f93787 /Build.c | |
parent | Adding upstream version 4.3. (diff) | |
download | mdadm-9b0e5b9a6a0f48899ace09c255c7dd7159d17030.tar.xz mdadm-9b0e5b9a6a0f48899ace09c255c7dd7159d17030.zip |
Adding upstream version 4.3+20240412.upstream/4.3+20240412upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Build.c')
-rw-r--r-- | Build.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -156,12 +156,6 @@ int Build(struct mddev_ident *ident, struct mddev_dev *devlist, struct shape *s, bitmap_fd = open(s->bitmap_file, O_RDWR); if (bitmap_fd < 0) { int major = BITMAP_MAJOR_HI; -#if 0 - if (s->bitmap_chunk == UnSet) { - pr_err("%s cannot be opened.\n", s->bitmap_file); - goto abort; - } -#endif bitmapsize = s->size >> 9; /* FIXME wrong for RAID10 */ if (CreateBitmap(s->bitmap_file, 1, NULL, s->bitmap_chunk, c->delay, |