commit | fa01b1e9733fd59ecb8b5b6d85dfb481d2025fbf | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Thu Sep 03 07:40:57 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Sep 25 08:18:57 2020 -0600 |
tree | f627199fb47da3dc4fa57dcbf305fff12997a918 | |
parent | 250eec9e390e2be6f672f9a77cf29791c189f7da [diff] |
block: add a bdev_is_partition helper Add a littler helper to make the somewhat arcane bd_contains checks a little more obvious. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>