md/raid5: use atomic_dec_return() instead of atomic_dec() and atomic_read().
authormajianpeng <majianpeng@gmail.com>
Tue, 13 Mar 2012 00:21:25 +0000 (11:21 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 13 Mar 2012 00:21:25 +0000 (11:21 +1100)
commit41fe75f60bcd4d698daed3e54bb099227358ce58
treebbd15d0143d20c59f87c5e6d2e0afba57252929b
parent43437ecd5adc8bd712b7140c8a70e2b4a80a89dd
md/raid5: use atomic_dec_return() instead of atomic_dec() and atomic_read().

Signed-off-by: majianpeng <majianpeng@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c