]> www.infradead.org Git - users/hch/block.git/commit
md: don't detour through bd_contains for the gendisk
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Sep 2020 09:21:05 +0000 (11:21 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 2 Sep 2020 09:27:17 +0000 (11:27 +0200)
commit25c87eca4dcf63b533145184f632299c9c696d8f
treea2a5b38884856d2a71cab396e0be5750b20c7dbd
parentafdb94da9293028d1c020093216180d519b77778
md: don't detour through bd_contains for the gendisk

bd_disk is set on all block devices, including those for partitions.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/md/md.c
drivers/md/md.h