Skip to content

Commit 99bdadb

Browse files
tobluxbrauner
authored andcommitted
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>
1 parent 900bbaa commit 99bdadb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/posix_acl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ struct posix_acl_entry {
2828

2929
struct posix_acl {
3030
refcount_t a_refcount;
31-
struct rcu_head a_rcu;
3231
unsigned int a_count;
32+
struct rcu_head a_rcu;
3333
struct posix_acl_entry a_entries[];
3434
};
3535

0 commit comments

Comments
 (0)