]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
md/raid5: get rid of duplicated call to bio_data_dir()
authorNamhyung Kim <namhyung@gmail.com>
Mon, 18 Jul 2011 07:38:51 +0000 (17:38 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 18 Jul 2011 07:38:51 +0000 (17:38 +1000)
commitffd96e35c16a99fdb490cc5723b8e32135ae5883
tree0ae71ae96af464f9e2edb60cdcfdc32e5cd92388
parent6ce328462c1145a217ba1f27b882743be1407759
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>
drivers/md/raid5.c