Skip to content
Commit bf7c7a04 authored by Heinz Mauelshagen's avatar Heinz Mauelshagen Committed by Jens Axboe
Browse files

null_blk: fix checking for REQ_FUA



null_handle_bio() erroneously uses the bio_op macro
which masks respective request flag bits including REQ_FUA
out thus failing the check.

Fix by checking bio->bi_opf directly.

Signed-off-by: default avatarHeinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 4d7c1d3f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment