diff options
| author | Christoph Hellwig <[email protected]> | 2021-08-04 11:41:45 +0200 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-08-09 11:50:43 -0600 |
| commit | ba30585936b0b88f0fb2b19be279b346a6cc87eb (patch) | |
| tree | c2e408580fd3b973e1d2c217e4c9fb2d0f2f47d9 /lib/mpi/mpiutil.c | |
| parent | 74a2b6ec9380959546d95ecc01a8fe6c7157add9 (diff) | |
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 <[email protected]>
Reviewed-by: Mike Snitzer <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions