error: ‘XFS_IOC_ZERO_RANGE’ undeclared (first use in this function)
Quoted 2 lines · qiaojianfeng
I’m not sure whether I post the issue in the right place, if not correct, sorry for noise and please help me route this email to the right place.
I've cc'd qemu-devel and the block maintainer.
Quoted 8 lines
I’m running into an error while I build the lastest qemu source code. The error messages are as follows,
block/raw-posix.c: In function ‘xfs_write_zeroes’:
block/raw-posix.c:1025: error: ‘XFS_IOC_ZERO_RANGE’ undeclared (first use in this function)
Quoted 6 lines
block/raw-posix.c:1025: error: (Each undeclared identifier is reported only once
block/raw-posix.c:1025: error: for each function it appears in.)make: *** [
block/raw-posix.o] Error 1
What system are you building this on? It looks like we think we have XFS support but your system's xfs.h doesn't have the definition of that ioctl, which is a bit odd because it's been around for years.
thanks
-- PMM