Skip to content
Commit 4245e52d authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

md: don't detour through bd_contains for the gendisk



bd_disk is set on all block devices, including those for partitions.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarSong Liu <song@kernel.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 61a27e1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment