commit | e54069acac1a302c1adc26694963547f8b73c2b0 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue May 25 08:12:57 2021 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jun 01 07:44:56 2021 -0600 |
tree | 0201945a043944c0e2bb51ad632c85cf868f1ab9 | |
parent | a8698707a1835be3abd12a3b28079a80999f8dee [diff] |
block: move adjusting bd_part_count out of __blkdev_get Keep in the callers and thus remove the for_part argument. This mirrors what is done on the blkdev_get side and slightly simplifies blkdev_get_part as well. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Ming Lei <ming.lei@rehat.com> Link: https://lore.kernel.org/r/20210525061301.2242282-5-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>