commit | 515903c16bde320ba4c9fbce97944f1214d7a464 | [log] [tgz] |
---|---|---|
author | Hou Pu <houpu@bytedance.com> | Fri Aug 21 04:34:42 2020 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Sep 03 11:24:23 2020 +0200 |
tree | b9dfcb89bf4867c5bc9975538d23bfe841e74530 | |
parent | 0ece300942e050e30300cf108d6c71f13c0e424e [diff] |
null_blk: fix passing of REQ_FUA flag in null_handle_rq [ Upstream commit 2d62e6b038e729c3e4bfbfcfbd44800ef0883680 ] REQ_FUA should be checked using rq->cmd_flags instead of req_op(). Fixes: deb78b419dfda ("nullb: emulate cache") Signed-off-by: Hou Pu <houpu@bytedance.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Sasha Levin <sashal@kernel.org>