aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs_pin.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2015-01-10 12:47:38 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2015-01-25 23:17:27 -0500
commit34cece2e8a1d2b66f00e153a19b80b4d4cec4eb8 (patch)
treeacb981809dfccd4aead012d604650435be41f7ef /include/linux/fs_pin.h
parentdcache: let the dentry count go down to zero without taking d_lock (diff)
downloadlinux-dev-34cece2e8a1d2b66f00e153a19b80b4d4cec4eb8.tar.xz
linux-dev-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/linux/fs_pin.h')
-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 *);
};