diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-26 19:19:16 -0400 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-01-29 15:45:16 +0100 |
commit | 4b2f6663ebde6bed50209a05041b34c203116253 (patch) | |
tree | e849e7c617c4ac30e45def6aa3c2335b75f619d3 /include/linux | |
parent | 378d7e7d7c2e59a5800d8611c8caa65af4be674c (diff) | |
download | lwn-4b2f6663ebde6bed50209a05041b34c203116253.tar.gz lwn-4b2f6663ebde6bed50209a05041b34c203116253.zip |
move d_rcu from overlapping d_child to overlapping d_alias
commit 946e51f2bf37f1656916eb75bd0742ba33983c28 upstream.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/dcache.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index cbde0540d4dd..53c1b60a29a0 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -122,15 +122,15 @@ struct dentry { void *d_fsdata; /* fs-specific data */ struct list_head d_lru; /* LRU list */ + struct list_head d_child; /* child of parent list */ + struct list_head d_subdirs; /* our children */ /* - * d_child and d_rcu can share memory + * d_alias and d_rcu can share memory */ union { - struct list_head d_child; /* child of parent list */ + struct hlist_node d_alias; /* inode alias list */ struct rcu_head d_rcu; } d_u; - struct list_head d_subdirs; /* our children */ - struct hlist_node d_alias; /* inode alias list */ }; /* |