Skip to content
Commit ff658e9c authored by Johannes Thumshirn's avatar Johannes Thumshirn Committed by Mike Snitzer
Browse files

dm mpath: simplify failure path of dm_multipath_init()



Currently the cleanup of all error cases are open-coded.  Introduce a
common exit path and labels.

Signed-off-by: default avatarJohannes Thumshirn <morbidrsa@gmail.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 9cb1397d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment