]> git.baikalelectronics.ru Git - kernel.git/commit
block: cleanup q->srcu
authorMing Lei <ming.lei@redhat.com>
Tue, 11 Jan 2022 12:34:01 +0000 (20:34 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 17 Jan 2022 14:24:45 +0000 (07:24 -0700)
commit71539577cbc62c26b9961561ae47a25b5a98aa41
tree40aa03126da0e534b1475348bd5fdbe955c85aae
parent1cd686df49fdde5da062aceef5e49700b33ee371
block: cleanup q->srcu

srcu structure has to be cleanup via cleanup_srcu_struct(), so fix it.

Reported-by: syzbot+4f789823c1abc5accf13@syzkaller.appspotmail.com
Fixes: 655812e85227 ("blk-mq: move srcu from blk_mq_hw_ctx to request_queue")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220111123401.520192-1-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-sysfs.c