]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
MD: fix sleep in atomic
authorShaohua Li <shli@fb.com>
Mon, 3 Jul 2017 21:34:23 +0000 (14:34 -0700)
committerShaohua Li <shli@fb.com>
Mon, 3 Jul 2017 21:38:59 +0000 (14:38 -0700)
commit7184ef8bab0cb865c3cea9dd1a675771145df0af
tree2c356cf60b64c32d4ad39e434a9759f14e2ba287
parent7f053a6a745557b3f3ad63e9d28ba85c3c0b1563
MD: fix sleep in atomic

bioset_free() will take a mutex, so can't get called with spinlock hold.

Fix: 5a85071c2cbc(md: use a separate bio_set for synchronous IO.)
Cc: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md.c