]> git.karo-electronics.de Git - linux-beck.git/commit
dm mpath: do not call pg_init when it is already running
authorHannes Reinecke <hare@suse.de>
Fri, 28 Feb 2014 14:33:42 +0000 (15:33 +0100)
committerMike Snitzer <snitzer@redhat.com>
Thu, 27 Mar 2014 20:56:24 +0000 (16:56 -0400)
commit17f4ff45b58742e2cb32fce6e406dbdb4b32a1e7
treeef392079dd18bd8dce3dae179786010fadfb0267
parent9cdb8520049629271ad411ac91ab1bea3e1cfa2b
dm mpath: do not call pg_init when it is already running

This patch moves condition checks as a preparation of following
patches and has no effect on behaviour.
process_queued_ios() is the only caller of __pg_init_all_paths()
and 2 condition checks are moved from outside to inside without
side effects.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Reviewed-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
drivers/md/dm-mpath.c