summaryrefslogtreecommitdiffstats
path: root/Build.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 03:20:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 03:20:41 +0000
commit6088e9df34ffdc4dea71dde1025d5500c045db3e (patch)
tree6de173faa54908e79b01a6437f1af38c1142f6de /Build.c
parentReleasing progress-linux version 4.3-1~progress7.99u1. (diff)
downloadmdadm-6088e9df34ffdc4dea71dde1025d5500c045db3e.tar.xz
mdadm-6088e9df34ffdc4dea71dde1025d5500c045db3e.zip
Merging upstream version 4.3+20240412.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'Build.c')
-rw-r--r--Build.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/Build.c b/Build.c
index 1fbf859..1be90e4 100644
--- a/Build.c
+++ b/Build.c
@@ -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,