On Mon, Mar 03, 2025 at 08:43:12PM +0800, Ming Lei wrote:
> Fixes the following build failure:
> 
> ublk//file_backed.c: In function `backing_file_tgt_init´:
> ublk//file_backed.c:28:42: error: `O_DIRECT´ undeclared (first use in this 
> function); did you mean `O_DIRECTORY´?
>    28 |                 fd = open(file, O_RDWR | O_DIRECT);
>       |                                          ^~~~~~~~
>       |                                          O_DIRECTORY
> 
> when trying to reuse this same utility for liburing test.

Looks good,

Reviewed-by: Keith Busch <kbu...@kernel.org>

Reply via email to