commit | 3146b3220c1b1c3f6b91d1f3a4bb234d51813114 | [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:22:29 2020 +0200 |
tree | e970621c35df7dba3a43fcebc8645fcb64d46b63 | |
parent | b94544a0ba3373e87a85861df6c7809a551b0e1f [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>