summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-01-10 18:47:38 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2015-01-26 05:17:27 +0100
commit34cece2e8a1d2b66f00e153a19b80b4d4cec4eb8 (patch)
treeacb981809dfccd4aead012d604650435be41f7ef /include
parentdcache: let the dentry count go down to zero without taking d_lock (diff)
downloadlinux-34cece2e8a1d2b66f00e153a19b80b4d4cec4eb8.tar.xz
linux-34cece2e8a1d2b66f00e153a19b80b4d4cec4eb8.zip
take count and rcu_head out of fs_pin
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs_pin.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/include/linux/fs_pin.h b/include/linux/fs_pin.h
index 68a54b7741aa..a2e71912e758 100644
--- a/include/linux/fs_pin.h
+++ b/include/linux/fs_pin.h
@@ -1,14 +1,8 @@
#include <linux/fs.h>
struct fs_pin {
- atomic_long_t count;
- union {
- struct {
- struct hlist_node s_list;
- struct hlist_node m_list;
- };
- struct rcu_head rcu;
- };
+ struct hlist_node s_list;
+ struct hlist_node m_list;
void (*kill)(struct fs_pin *);
};