commit | bf7c7a04014678c6880642936e3d420cdfe453bc | [log] [tgz] |
---|---|---|
author | Heinz Mauelshagen <heinzm@redhat.com> | Fri Feb 22 20:00:01 2019 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Feb 28 14:03:03 2019 -0700 |
tree | 49052810455b8c0a95a30f61fe0bcbf785d6f4a5 | |
parent | 4d7c1d3fd7c7eda7dea351f071945e843a46c145 [diff] |
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: Heinz Mauelshagen <heinzm@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>