summaryrefslogtreecommitdiffstats
path: root/drivers/bus
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-03 07:40:58 +0200
committerJens Axboe <axboe@kernel.dk>2020-09-25 16:18:57 +0200
commit61a27e1f521ca0dd4a38302958ccc43fd95d8879 (patch)
tree326fa7a24b2155b4d4f59fcc4656b185ae3355f5 /drivers/bus
parentblock: add a bdev_is_partition helper (diff)
downloadlinux-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