diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2024-10-15 22:21:54 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-10-22 11:16:59 +0200 |
commit | 99bdadbde9c418f29b78b7241732268dbc0a05cc (patch) | |
tree | 377d433e9ec5e3c16754b616da072106767076b0 | |
parent | 900bbaae67e980945dec74d36f8afe0de7556d5a (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 <brauner@kernel.org>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://lore.kernel.org/r/20241015202158.2376-1-thorsten.blum@linux.dev
Signed-off-by: Christian Brauner <brauner@kernel.org>
-rw-r--r-- | include/linux/posix_acl.h | 2 |
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[]; }; |