]> 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, 10 Sep 2012 23:41:20 +0000 (09:41 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Sep 2012 23:41:20 +0000 (09:41 +1000)
commit00192180b37994c271de90cde67ff3aea6a5af9b
treeafc6a0447fd9216e58cb09ecc7fdcc34f065c35a
parenta62b0b89445ee370d5a016f08d29e38812abd0f8
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