]> 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, 24 Sep 2012 00:22:53 +0000 (10:22 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 24 Sep 2012 00:22:53 +0000 (10:22 +1000)
commitd880aadaa335ef9c9814fc908e93a01edd54241e
tree65ea2994af007b158b13074f46ea8326e619b2e7
parent2b7bd2f22455b69789b9c202f161f2566ba5bbe8
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