mirror_zfs/cmd/zfs
Tony Hutter b8ee796945 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 09:52:16 -08:00
..
Makefile.am autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
zfs_iter.c SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_iter.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_main.c Add interface to interface spa_get_worst_case_min_alloc() function 2025-10-21 11:02:42 -07:00
zfs_project.c Linux 6.17 compat: Fix broken projectquota on 6.17 2025-11-12 09:52:16 -08:00
zfs_projectutil.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zfs_util.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00