]> git.karo-electronics.de Git - karo-tx-linux.git/commit
The mpio dereference should be moved below the BUG_ON NULL test
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 17 Sep 2012 01:01:01 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 17 Sep 2012 01:01:01 +0000 (11:01 +1000)
commitca4aff6ea719499d8ea18cd54548759342f86855
tree03ebed5d920ec4bc88cf81779a98cc2db343051a
parentbc553e0b41faf83935947803ff44e89a45f00d19
The mpio dereference should be moved below the BUG_ON NULL test
in multipath_end_io().

spatch with a semantic match is used to found this.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-mpath.c