commit | ffd96e35c16a99fdb490cc5723b8e32135ae5883 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@gmail.com> | Mon Jul 18 17:38:51 2011 +1000 |
committer | NeilBrown <neilb@suse.de> | Mon Jul 18 17:38:51 2011 +1000 |
tree | 0ae71ae96af464f9e2edb60cdcfdc32e5cd92388 | |
parent | 6ce328462c1145a217ba1f27b882743be1407759 [diff] |
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 <namhyung@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>