Thread (16 messages) 16 messages, 4 authors, 2020-09-25

Re: [PATCH 2/9] block: add a bdev_is_partition helper

From: Christoph Hellwig <hch@lst.de>
Date: 2020-09-03 08:26:17
Also in: dm-devel, linux-block, linux-ide, linux-mmc, linux-raid, linux-s390, linux-scsi, lkml, target-devel

On Thu, Sep 03, 2020 at 10:19:34AM +0200, Ulf Hansson wrote:
On Thu, 3 Sep 2020 at 07:42, Christoph Hellwig [off-list ref] wrote:
quoted
Add a littler helper to make the somewhat arcane bd_contains checks a
little more obvious.

Signed-off-by: Christoph Hellwig <hch@lst.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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help