diff options
author | NeilBrown <neilb@suse.com> | 2017-10-17 13:46:43 +1100 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-11-01 21:32:18 -0700 |
commit | 52a0d49de3d592a3118e13f35985e3d99eaf43df (patch) | |
tree | ae731c4f47a7c913873c7ec87be821b4c9b60291 /arch/m32r/boot/compressed/m32r_sio.c | |
parent | 4d5324f760aacaefeb721b172aa14bf66045c332 (diff) |
md: don't call bitmap_create() while array is quiesced.
bitmap_create() allocates memory with GFP_KERNEL and
so can wait for IO.
If called while the array is quiesced, it could wait indefinitely
for write out to the array - deadlock.
So call bitmap_create() before quiescing the array.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'arch/m32r/boot/compressed/m32r_sio.c')
0 files changed, 0 insertions, 0 deletions