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

md: compare bd_disk instead of bd_contains



To check for partitions of the same disk bd_contains works as well, but
bd_disk is way more obvious.

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 fa01b1e9
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