-
由 FUJITA Tomonori 提交于
After blk_rq_map_user is successful, if we find that a device is unavailable (was detached), we must call blk_end_request_all to free bio(s) before blk_rq_unmap_user and blk_put_request. Reported-by: N"Dailey, Nate" <Nate.Dailey@stratus.com> Signed-off-by: NFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Tested-by: N"Dailey, Nate" <Nate.Dailey@stratus.com> Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
caf19d38