Christoph Hellwig 1fe0b1acb1 loop: only freeze the queue in __loop_clr_fd when needed
->release is only called after all outstanding I/O has completed, so only
freeze the queue when clearing the backing file of a live loop device.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Tested-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20220330052917.2566582-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-04-18 06:54:09 -06:00
..
2022-03-04 12:29:20 -07:00
2022-03-21 16:48:55 -07:00
2022-04-17 19:49:59 -06:00
2022-04-18 06:54:09 -06:00
2022-01-17 07:19:40 -07:00
2022-03-04 12:29:21 -07:00
2021-12-16 10:57:04 -07:00
2021-12-16 10:57:04 -07:00
2022-04-18 06:54:09 -06:00
2022-04-17 19:30:47 -06:00
2021-11-29 06:38:35 -07:00
2022-04-17 19:49:59 -06:00
2022-02-02 07:49:59 -07:00
2021-11-29 06:38:35 -07:00
2021-11-29 06:38:35 -07:00
2022-04-17 19:49:59 -06:00
2021-11-29 06:38:35 -07:00