Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 27eb3af9 authored by Ming Lei's avatar Ming Lei Committed by Jens Axboe
Browse files

block: don't hold part0's refcount in IO path


gendisk can't be gone when there is IO activity, so not hold
part0's refcount in IO path.

Signed-off-by: default avatarMing Lei <ming.lei@redhat.com>
Reviewed-by: default avatarChristoph Hellwig <hch@infradead.org>
Cc: Yufen Yu <yuyufen@huawei.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Hou Tao <houtao1@huawei.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 520138c3
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment