diff options
| author | Heinz Mauelshagen <[email protected]> | 2019-02-22 19:00:01 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-02-28 21:03:03 +0000 |
| commit | bf7c7a04014678c6880642936e3d420cdfe453bc (patch) | |
| tree | 49052810455b8c0a95a30f61fe0bcbf785d6f4a5 /lib/error-inject.c | |
| parent | block: fix NULL pointer dereference in register_disk (diff) | |
| download | kernel-bf7c7a04014678c6880642936e3d420cdfe453bc.tar.gz kernel-bf7c7a04014678c6880642936e3d420cdfe453bc.zip | |
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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/error-inject.c')
0 files changed, 0 insertions, 0 deletions
