]> www.infradead.org Git - users/hch/block.git/commit
loop: don't freeze the queue in lo_release
authorChristoph Hellwig <hch@lst.de>
Tue, 25 Jan 2022 08:02:09 +0000 (09:02 +0100)
committerChristoph Hellwig <hch@lst.de>
Wed, 26 Jan 2022 15:25:35 +0000 (16:25 +0100)
commit2a04271e9232cb332158bd4aa60216933facce84
treef4114c2cbcd8c61db579a7fc3ecaaab62e850b5c
parent84be0f189cf043ea40850378a8de77b9cffbc5c0
loop: don't freeze the queue in lo_release

By the time the final ->release is called there can't be outstanding I/O.
For non-final ->release there is no need for driver action at all.

Thus remove the useless queue freeze.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/block/loop.c