summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2011-06-14 14:20:19 +1000
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-23 15:24:08 -0700
commitc0877c4bc4ac2d8a510e3b1a45a4f1eb18cf2a5e (patch)
tree990f70c5d4da9044d80e5d3e487b25a152efe850 /COPYING
parent6f4976aa404e521e7d57f1b703856210a3669683 (diff)
md/raid5: fix FUA request handling in ops_run_io()
commit b062962edb086011e94ec4d9eb3f6a6d814f2a8f upstream. 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> Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions