Re: [PATCH] Create.c: fix uclibc build

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

 



On Fri, 12 Apr 2024 18:45:13 +0200
Fabrice Fontaine <fontaine.fabrice@xxxxxxxxx> wrote:

> Define FALLOC_FL_ZERO_RANGE if needed as FALLOC_FL_ZERO_RANGE is only
> defined for aarch64 on uclibc-ng resulting in the following or1k build
> failure since commit 577fd10486d8d1472a6b559066f344ac30a3a391:
> 
> Create.c: In function 'write_zeroes_fork':
> Create.c:155:35: error: 'FALLOC_FL_ZERO_RANGE' undeclared (first use in this
> function) 155 |                 if (fallocate(fd, FALLOC_FL_ZERO_RANGE |
> FALLOC_FL_KEEP_SIZE, |                                   ^~~~~~~~~~~~~~~~~~~~
> 
> Fixes:
>  -
> http://autobuild.buildroot.org/results/0e04bcdb591ca5642053e1f7e31384f06581e989
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@xxxxxxxxx>

Applied! 

Thanks,
Mariusz




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux