blob: 2be38d1464ae269f4e31ab216f8e0f37931018b3 [file] [log] [blame]
Al Viroefb170c2014-08-07 08:39:04 -04001#include <linux/fs.h>
2
3struct fs_pin {
Al Viro34cece22015-01-10 12:47:38 -05004 struct hlist_node s_list;
5 struct hlist_node m_list;
Al Viroefb170c2014-08-07 08:39:04 -04006 void (*kill)(struct fs_pin *);
7};
8
Al Viroefb170c2014-08-07 08:39:04 -04009void pin_remove(struct fs_pin *);
Al Virofdab6842015-01-11 10:57:27 -050010void pin_insert_group(struct fs_pin *, struct vfsmount *, struct hlist_head *);
Al Viroefb170c2014-08-07 08:39:04 -040011void pin_insert(struct fs_pin *, struct vfsmount *);