projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
900bbaa
)
acl: Realign struct posix_acl to save 8 bytes
author
Thorsten Blum
<thorsten.blum@linux.dev>
Tue, 15 Oct 2024 20:21:54 +0000
(22:21 +0200)
committer
Christian 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
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/posix_acl.h
b/include/linux/posix_acl.h
index 0e65b3d634d9afd330ccfff3263142ffa1457aec..2d6a4badd306fce6778aaac6557cebba8450f383 100644
(file)
--- 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[];
};