summaryrefslogtreecommitdiff
path: root/lib/glob.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-08-04 12:41:45 +0300
committerJens Axboe <axboe@kernel.dk>2021-08-09 20:50:43 +0300
commitba30585936b0b88f0fb2b19be279b346a6cc87eb (patch)
treec2e408580fd3b973e1d2c217e4c9fb2d0f2f47d9 /lib/glob.c
parent74a2b6ec9380959546d95ecc01a8fe6c7157add9 (diff)
downloadlinux-ba30585936b0b88f0fb2b19be279b346a6cc87eb.tar.xz
dm: move setting md->type into dm_setup_md_queue
Move setting md->type from both callers into dm_setup_md_queue. This ensures that md->type is only set to a valid value after the queue has been fully setup, something we'll rely on future changes. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Mike Snitzer <snitzer@redhat.com> Link: https://lore.kernel.org/r/20210804094147.459763-7-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/glob.c')
0 files changed, 0 insertions, 0 deletions