block: move rq_qos_exit() into disk_release()
authorMing Lei <ming.lei@redhat.com>
Tue, 8 Mar 2022 05:52:00 +0000 (06:52 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Mar 2022 02:40:01 +0000 (19:40 -0700)
commit5ca7546fe317bd181ad55f623f6e522069c2e426
tree3a86b4265b55dc31f11c0205b9dac5aa3b143ce7
parent28883074fc104f16ab181207d556ab75df6c6526
block: move rq_qos_exit() into disk_release()

Keep all teardown of file system I/O related functionality in one place.
There can't be file system I/O in disk_release(), so it is safe to move
rq_qos_exit() there.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220308055200.735835-15-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c