md/raid5: Change or of some order to improve efficiency.
authormajianpeng <majianpeng@gmail.com>
Wed, 24 Apr 2013 01:42:41 +0000 (11:42 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 24 Apr 2013 01:42:41 +0000 (11:42 +1000)
commit6f608040ce6cf37475dd2f6f3c97b009dab7c1d1
tree9aac3a9fe0a3090ac1425a95e50565b356d3d585
parent3f810b6c4a850db1b9989cd569ab88b90cd24996
md/raid5: Change or of some order to improve efficiency.

As the function call is the most expensive of these tests it should be
done later in the chain so that it can be avoided in some cases.

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