Skip to content
Snippets Groups Projects
Commit 9bf59a61 authored by Mike Snitzer's avatar Mike Snitzer
Browse files

dm mpath: remove extra nesting in map function


Return early for case when no path exists, and when the
pathgroup isn't ready. This eliminates the need for
extra nesting for the the common case.

Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
Signed-off-by: default avatarHannes Reinecke <hare@suse.de>
parent 36fcffcc
No related branches found
No related tags found
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