diff options
| author | Christoph Hellwig <hch@lst.de> | 2021-05-25 08:12:54 +0200 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-06-01 07:43:32 -0600 |
| commit | 362529d9280af4b08d2c25a4b39b8e5ae7658f9a (patch) | |
| tree | a8b6f39af0f41096da217a51ec1a79c5dbcb45d8 /lib/test_overflow.c | |
| parent | da7ba72960ca2a9b968e47fcf414d16f3d4c0c42 (diff) | |
block: split __blkdev_get
Split __blkdev_get into one helper for the whole device, and one for
opening partitions. This removes the (bounded) recursion when opening
a partition.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Link: https://lore.kernel.org/r/20210525061301.2242282-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions
