Commit 7d959f6
md: use msleep() in md_notify_reboot()
Calling mdelay(1000) from process context, even while a reboot
is in progress, does not make sense.
Using msleep() allows other threads to make progress.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: linux-raid@vger.kernel.org
Signed-off-by: Song Liu <song@kernel.org>1 parent 5b401e4 commit 7d959f6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9582 | 9582 | | |
9583 | 9583 | | |
9584 | 9584 | | |
9585 | | - | |
| 9585 | + | |
9586 | 9586 | | |
9587 | 9587 | | |
9588 | 9588 | | |
| |||
0 commit comments