mirror_zfs/lib/libspl/include/os/linux/sys
Tony Hutter 3a2b089a9a Linux 6.17 compat: Fix broken projectquota on 6.17
We need to specifically use the FX_XFLAG_* macros in zpl_ioctl_*attr()
codepaths, and the FS_*_FL macros in the zpl_ioctl_*flags() codepaths.
The earlier code just assumes the FS_*_FL macros for both codepaths.
The 6.17 kernel add a bitmask check in copy_fsxattr_from_user() that
exposed this error via failing 'projectquota' ZTS tests.

Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #17884
Closes #17869
2025-11-12 10:57:46 -08:00
..
ia32 x86 asm: Replace .align with .balign 2023-01-24 09:04:39 -08:00
byteorder.h Reduce false positives from Static Analyzers 2022-09-30 15:30:12 -07:00
errno.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
mnttab.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
mount.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
param.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
stat.h Validate mountpoint on path-based unmount using statx 2025-11-03 13:51:00 -08:00
sysmacros.h Replace P2ALIGN with P2ALIGN_TYPED and delete P2ALIGN. 2024-05-13 10:27:38 -05:00
vfs.h Linux 6.17 compat: Fix broken projectquota on 6.17 2025-11-12 10:57:46 -08:00
zfs_context_os.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00