Merging upstream version 4.2+20240118.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
ca87d3e0c7
commit
e23dbbb353
29 changed files with 158 additions and 229 deletions
2
Create.c
2
Create.c
|
@ -938,7 +938,7 @@ int Create(struct supertype *st, struct mddev_ident *ident, int subdevs,
|
|||
pr_err("automatically enabling write-intent bitmap on large array\n");
|
||||
s->bitmap_file = "internal";
|
||||
}
|
||||
if (s->bitmap_file && strcmp(s->bitmap_file, "none") == 0)
|
||||
if (s->bitmap_file && str_is_none(s->bitmap_file) == true)
|
||||
s->bitmap_file = NULL;
|
||||
|
||||
if (s->consistency_policy == CONSISTENCY_POLICY_PPL &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue