]> git.baikalelectronics.ru Git - kernel.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)
commitc2b8b5f91b841fc2146fab944cfccbc632cb4759
tree2c356cf60b64c32d4ad39e434a9759f14e2ba287
parent1d50ab206ee894f152ab234f32eb5e921f50e022
MD: fix sleep in atomic

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

Fix: dc8b60be7f6d(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