1 #include <linux/wait.h>
4 wait_queue_head_t wait;
6 struct hlist_node s_list;
7 struct hlist_node m_list;
8 void (*kill)(struct fs_pin *);
13 static inline void init_fs_pin(struct fs_pin *p, void (*kill)(struct fs_pin *))
15 init_waitqueue_head(&p->wait);
16 INIT_HLIST_NODE(&p->s_list);
17 INIT_HLIST_NODE(&p->m_list);
21 void pin_remove(struct fs_pin *);
22 void pin_insert_group(struct fs_pin *, struct vfsmount *, struct hlist_head *);
23 void pin_insert(struct fs_pin *, struct vfsmount *);
24 void pin_kill(struct fs_pin *);