commit | 61a27e1f521ca0dd4a38302958ccc43fd95d8879 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Sep 03 07:40:58 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Sep 25 08:18:57 2020 -0600 |
tree | 326fa7a24b2155b4d4f59fcc4656b185ae3355f5 | |
parent | fa01b1e9733fd59ecb8b5b6d85dfb481d2025fbf [diff] |
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: Christoph Hellwig <hch@lst.de> Acked-by: Song Liu <song@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>