Skip to content

Commit 10b8a83

Browse files
committed
md: fix how device node is created and removed
JIRA: https://issues.redhat.com/browse/RHEL-94433 Upstream Status: RHEL-Only This fixes when asynchronous stopping an array changes to synchronous stopping the array. Signed-off-by: Xiao Ni <xni@redhat.com> Signed-off-by: Nigel Croxon <ncroxon@redhat.com>
1 parent c1fdc90 commit 10b8a83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/md/md.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ static int start_readonly;
340340
* so all the races disappear.
341341
*/
342342
static bool create_on_open = true;
343-
static bool legacy_async_del_gendisk = true;
343+
static bool legacy_async_del_gendisk = false;
344344

345345
/*
346346
* We have a system wide 'event count' that is incremented

0 commit comments

Comments
 (0)