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: NChristoph Hellwig <hch@lst.de> Acked-by: NSong Liu <song@kernel.org> Signed-off-by: NJens Axboe <axboe@kernel.dk>
Showing
想要评论请 注册 或 登录