[dm-devel] [PATCH 4/9] md: don't detour through bd_contains for the gendisk

2020-09-02 Thread Christoph Hellwig
bd_disk is set on all block devices, including those for partitions. Signed-off-by: Christoph Hellwig --- drivers/md/md.c | 2 +- drivers/md/md.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/md/md.c b/drivers/md/md.c index 3f33562d10d6f5..5a0fd93769a70e 100644 -

Re: [dm-devel] [PATCH 4/9] md: don't detour through bd_contains for the gendisk

2020-09-10 Thread Song Liu
On Wed, Sep 2, 2020 at 10:43 PM Christoph Hellwig wrote: > > bd_disk is set on all block devices, including those for partitions. > > Signed-off-by: Christoph Hellwig Acked-by: Song Liu > --- > drivers/md/md.c | 2 +- > drivers/md/md.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-