From: Namhyung Kim Date: Mon, 18 Jul 2011 07:38:51 +0000 (+1000) Subject: md/raid5: get rid of duplicated call to bio_data_dir() X-Git-Tag: v3.1-rc1~131^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffd96e35c16a99fdb490cc5723b8e32135ae5883;p=pandora-kernel.git md/raid5: get rid of duplicated call to bio_data_dir() In raid5::make_request(), once bio_data_dir(@bi) is detected it never (and couldn't) be changed. Use the result always. Signed-off-by: Namhyung Kim Signed-off-by: NeilBrown --- Reading git-diff-tree failed