aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Blum <[email protected]>2024-10-15 22:21:54 +0200
committerChristian Brauner <[email protected]>2024-10-22 11:16:59 +0200
commit99bdadbde9c418f29b78b7241732268dbc0a05cc (patch)
tree377d433e9ec5e3c16754b616da072106767076b0
parent900bbaae67e980945dec74d36f8afe0de7556d5a (diff)
acl: Realign struct posix_acl to save 8 bytes
Reduce posix_acl's struct size by 8 bytes by realigning its members. Cc: Christian Brauner <[email protected]> Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Thorsten Blum <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
-rw-r--r--include/linux/posix_acl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/posix_acl.h b/include/linux/posix_acl.h
index 0e65b3d634d9..2d6a4badd306 100644
--- a/include/linux/posix_acl.h
+++ b/include/linux/posix_acl.h
@@ -28,8 +28,8 @@ struct posix_acl_entry {
struct posix_acl {
refcount_t a_refcount;
- struct rcu_head a_rcu;
unsigned int a_count;
+ struct rcu_head a_rcu;
struct posix_acl_entry a_entries[];
};