summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/m32r_cfc.h
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2011-06-14 14:20:19 +1000
committerNeilBrown <neilb@suse.de>2011-06-14 14:20:19 +1000
commitb062962edb086011e94ec4d9eb3f6a6d814f2a8f (patch)
tree4b832dab3687db5b719266d758a916bbc118e1f0 /drivers/pcmcia/m32r_cfc.h
parent9b2dc8b665932a8e681a7ab3237f60475e75e161 (diff)
downloadtalos-op-linux-b062962edb086011e94ec4d9eb3f6a6d814f2a8f.tar.gz
talos-op-linux-b062962edb086011e94ec4d9eb3f6a6d814f2a8f.zip
md/raid5: fix FUA request handling in ops_run_io()
Commit e9c7469bb4f5 ("md: implment REQ_FLUSH/FUA support") introduced R5_WantFUA flag and set rw to WRITE_FUA in that case. However remaining code still checks whether rw is exactly same as WRITE or not, so FUAed-write ends up with being treated as READ. Fix it. This bug has been present since 2.6.37 and the fix is suitable for any -stable kernel since then. It is not clear why this has not caused more problems. Cc: Tejun Heo <tj@kernel.org> Cc: stable@kernel.org Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/pcmcia/m32r_cfc.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud