Re: [PATCH 02/11] selftests: ublk: fix build failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <kbusch@xxxxxxxxxx>




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux