diff options
Diffstat (limited to 'include/linux/fs_pin.h')
| -rw-r--r-- | include/linux/fs_pin.h | 17 | 
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/fs_pin.h b/include/linux/fs_pin.h new file mode 100644 index 000000000000..f66525e72ccf --- /dev/null +++ b/include/linux/fs_pin.h @@ -0,0 +1,17 @@ +#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; +	}; +	void (*kill)(struct fs_pin *); +}; + +void pin_put(struct fs_pin *); +void pin_remove(struct fs_pin *); +void pin_insert(struct fs_pin *, struct vfsmount *);  |