[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200903082609.GA23498@lst.de>
Date: Thu, 3 Sep 2020 10:26:09 +0200
From: Christoph Hellwig <hch@....de>
To: Ulf Hansson <ulf.hansson@...aro.org>
Cc: Christoph Hellwig <hch@....de>, Jens Axboe <axboe@...nel.dk>,
dm-devel@...hat.com,
Linux Documentation <linux-doc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-block <linux-block@...r.kernel.org>,
drbd-dev@...ts.linbit.com, linux-ide@...r.kernel.org,
linux-raid@...r.kernel.org,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
linux-s390@...r.kernel.org,
linux-scsi <linux-scsi@...r.kernel.org>,
target-devel@...r.kernel.org
Subject: Re: [PATCH 2/9] block: add a bdev_is_partition helper
On Thu, Sep 03, 2020 at 10:19:34AM +0200, Ulf Hansson wrote:
> On Thu, 3 Sep 2020 at 07:42, Christoph Hellwig <hch@....de> wrote:
> >
> > Add a littler helper to make the somewhat arcane bd_contains checks a
> > little more obvious.
> >
> > Signed-off-by: Christoph Hellwig <hch@....de>
>
> Not sure why we have both "bd_contains" and "bd_partno", nevertheless,
> feel free to add:
Right now both are needed for how blkdev_get/put work. But I plan to
eventual kill off bd_contains after some major surgery to that code.
Powered by blists - more mailing lists