]> Git Repo - J-linux.git/commitdiff
acl: Realign struct posix_acl to save 8 bytes
authorThorsten Blum <[email protected]>
Tue, 15 Oct 2024 20:21:54 +0000 (22:21 +0200)
committerChristian Brauner <[email protected]>
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 <[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]>
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[];
 };
 
This page took 0.053369 seconds and 4 git commands to generate.