summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf_fdpic.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-05-25 08:12:57 +0200
committerJens Axboe <axboe@kernel.dk>2021-06-01 15:44:56 +0200
commite54069acac1a302c1adc26694963547f8b73c2b0 (patch)
tree0201945a043944c0e2bb51ad632c85cf868f1ab9 /fs/binfmt_elf_fdpic.c
parentblock: move bd_mutex to struct gendisk (diff)
downloadlinux-e54069acac1a302c1adc26694963547f8b73c2b0.tar.xz
linux-e54069acac1a302c1adc26694963547f8b73c2b0.zip
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>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions