Skip to content
Commit 7d959f6e authored by Eric Dumazet's avatar Eric Dumazet Committed by Song Liu
Browse files

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: default avatarEric Dumazet <edumazet@google.com>
Cc: linux-raid@vger.kernel.org
Signed-off-by: default avatarSong Liu <song@kernel.org>
parent 5b401e4e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment