Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
loop_reread_partitions() needs to do I/O, but we just froze the queue, so we end up waiting forever. This can easily be reproduced with losetup -P. Fix it by moving the reread to after we unfreeze the queue. Fixes: ecdd095 ("block/loop: fix race between I/O and set_status") Reported-by: Tejun Heo <[email protected]> Cc: [email protected] Signed-off-by: Omar Sandoval <[email protected]> Reviewed-by: Ming Lei <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information