summaryrefslogtreecommitdiff
path: root/include/linux/fs_pin.h
blob: 68a54b7741aa9a4165275ef68d8509b3ad921838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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_remove(struct fs_pin *);
void pin_insert(struct fs_pin *, struct vfsmount *);