]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
acl: Realign struct posix_acl to save 8 bytes
authorThorsten Blum <thorsten.blum@linux.dev>
Tue, 15 Oct 2024 20:21:54 +0000 (22:21 +0200)
committerChristian Brauner <brauner@kernel.org>
Tue, 22 Oct 2024 09:16:59 +0000 (11:16 +0200)
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>
include/linux/posix_acl.h

index 0e65b3d634d9afd330ccfff3263142ffa1457aec..2d6a4badd306fce6778aaac6557cebba8450f383 100644 (file)
@@ -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[];
 };