Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
filesystems
lustre_2_15
0027-LU-14073-ldiskfs-don-t-test-LDISKFS_IOC_FS...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0027-LU-14073-ldiskfs-don-t-test-LDISKFS_IOC_FSSETXATTR.patch of Package lustre_2_15
From 91514300718f4aa07ec0abb35daa15b86307c34f Mon Sep 17 00:00:00 2001 From: Mr NeilBrown <neilb@suse.de> Date: Fri, 9 Dec 2022 16:31:13 +1100 Subject: [PATCH 27/30] 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. Test-Parameters: trivial Signed-off-by: Mr NeilBrown <neilb@suse.de> Change-Id: I88c51c03959ebe98cd5066596f5158fac570a625 --- lustre/osd-ldiskfs/osd_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/osd-ldiskfs/osd_internal.h b/lustre/osd-ldiskfs/osd_internal.h index 2d90c13ead40..104ee98f1ecf 100644 --- a/lustre/osd-ldiskfs/osd_internal.h +++ b/lustre/osd-ldiskfs/osd_internal.h @@ -101,7 +101,7 @@ extern struct kmem_cache *dynlock_cachep; #define OSD_DEFAULT_EXTENT_BYTES (1U << 20) /* check if ldiskfs support project quota */ -#ifndef LDISKFS_IOC_FSSETXATTR +#if LDISKFS_MAXQUOTAS < 3 #undef HAVE_PROJECT_QUOTA #endif -- 2.38.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor