Al Viro | efb170c | 2014-08-07 08:39:04 -0400 | [diff] [blame] | 1 | #include <linux/fs.h> |
2 | |||||
3 | struct fs_pin { | ||||
4 | atomic_long_t count; | ||||
5 | union { | ||||
6 | struct { | ||||
7 | struct hlist_node s_list; | ||||
8 | struct hlist_node m_list; | ||||
9 | }; | ||||
10 | struct rcu_head rcu; | ||||
11 | }; | ||||
12 | void (*kill)(struct fs_pin *); | ||||
13 | }; | ||||
14 | |||||
15 | void pin_put(struct fs_pin *); | ||||
16 | void pin_remove(struct fs_pin *); | ||||
17 | void pin_insert(struct fs_pin *, struct vfsmount *); |