Re: [PATCH] null_blk: fix checking for REQ_FUA

From: Jens Axboe
Date: Thu Feb 28 2019 - 16:03:27 EST


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