]> git.baikalelectronics.ru Git - kernel.git/commit
block: factor out a part_devt helper
authorChristoph Hellwig <hch@lst.de>
Tue, 25 May 2021 06:13:00 +0000 (08:13 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Jun 2021 13:45:49 +0000 (07:45 -0600)
commit235a843f313937741bf850fa172a5612d5c85154
treefdac112a1884242e87aa576e5f01675fc969a530
parent980df7b4029b20f96a237dd066a125a258866686
block: factor out a part_devt helper

Add a helper to find the dev_t for a disk + partno tuple.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20210525061301.2242282-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
include/linux/genhd.h
init/do_mounts.c