diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-03 07:40:58 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-25 16:18:57 +0200 |
commit | 61a27e1f521ca0dd4a38302958ccc43fd95d8879 (patch) | |
tree | 326fa7a24b2155b4d4f59fcc4656b185ae3355f5 /drivers/bus | |
parent | block: add a bdev_is_partition helper (diff) | |
download | linux-61a27e1f521ca0dd4a38302958ccc43fd95d8879.tar.xz linux-61a27e1f521ca0dd4a38302958ccc43fd95d8879.zip |
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>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions