Whamcloud - gitweb
LU-14073 ldiskfs: don't test LDISKFS_IOC_FSSETXATTR 83/52283/3
authorMr NeilBrown <neilb@suse.de>
Fri, 9 Dec 2022 05:31:13 +0000 (16:31 +1100)
committerOleg Drokin <green@whamcloud.com>
Wed, 17 Apr 2024 05:22:23 +0000 (05:22 +0000)
commit9eb23bdd3833911d02bf7839506a5d5459299040
tree50498930963989d423571bf3fe1814f59377d30e
parent19dbb06af087e9a754bf803c40a0ae12139c6d43
LU-14073 ldiskfs: don't test LDISKFS_IOC_FSSETXATTR

EXT4_IOC_FSSETXATTR was removed upstream in Linux 5.9, Commit
cb29a02d3a9d ("ext4: use generic names for generic ioctls").
So we cannot use it to test if project quotas are supported.

Instead test if EXT4_MAXQUOTAS is 3.  This was changed to 3 upstream
in the commit immediately before EXT4_IOC_FSSETXATTR was added, so it
is effectively the same test.

Lustre-change: https://review.whamcloud.com/49353
Lustre-commit: 40389067f5645fed903304d19dd6c58de72d0b88

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: I88c51c03959ebe98cd5066596f5158fac570a625
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52283
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/osd-ldiskfs/osd_internal.h