Re: [PATCH] null_blk: fix checking for REQ_FUA

2019-02-28 Thread Jens Axboe
On 2/22/19 12:00 PM, Heinz Mauelshagen wrote: > 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. Thanks, applied. -- Jens Axboe

[PATCH] null_blk: fix checking for REQ_FUA

2019-02-22 Thread Heinz Mauelshagen
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 --- drivers/block/null_blk_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(