]> git.baikalelectronics.ru Git - kernel.git/commit
dm mpath: remove extra nesting in map function
authorMike Snitzer <snitzer@redhat.com>
Fri, 28 Feb 2014 14:33:48 +0000 (15:33 +0100)
committerMike Snitzer <snitzer@redhat.com>
Thu, 27 Mar 2014 20:56:25 +0000 (16:56 -0400)
commit707a479a1e974c7859a9befe8480653ec74da45b
tree0ad88aa4377521d9c082b1a5251e00fa01bd987d
parenta9e2024a20cc7ca82462721fb302f4ceefc7b7e0
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: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
drivers/md/dm-mpath.c