strace-4.12 compilation failure on kernel 3.10.102

Dmitry V. Levin ldv at altlinux.org
Fri Jun 17 12:04:49 UTC 2016


On Thu, Jun 16, 2016 at 02:59:37AM +0000, Li Er wrote:
>   the constant BTRFS_IOC_QUOTA_RESCAN_WAIT which is used in btrfs.c is not defined in the header files of kernel 3.10.102, the kernel commit which added the constant is 57254b6ebce4ceca02d9c8b615f6059c56c19238, as you can see by running git log -p v3.10.102..57254b6ebce4ceca02d9c8b615f6059c56c19238 in the kernel repository, this commit is not included in the 3.10 branch(it's indeed in the 3.12 branch), thus results in a compilation failure.
>   by adding:
> 	#define BTRFS_IOC_QUOTA_RESCAN_WAIT _IO(BTRFS_IOCTL_MAGIC, 46)
> in btrfs.c strace compiles just fine.

Thanks.  Besides that, BTRFS_IOC_QUOTA_RESCAN and
BTRFS_IOC_QUOTA_RESCAN_STATUS were added after 3.9. 
Both issues should be fixed in master now.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160617/6c703e8f/attachment.bin>


More information about the Strace-devel mailing list