diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-01-10 19:01:08 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-01-25 23:17:29 -0500 |
commit | 87b95ce0964c016ede92763be9c164e49f1019e9 (patch) | |
tree | 168ea89fd898a2a0c70601d252171fc1a76f15f9 /fs/mount.h | |
parent | 59eda0e07f43c950d31756213b607af673e551f0 (diff) |
switch the IO-triggering parts of umount to fs_pin
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/mount.h')
-rw-r--r-- | fs/mount.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/mount.h b/fs/mount.h index 0ad6f760ce52..6a61c2b3e385 100644 --- a/fs/mount.h +++ b/fs/mount.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #include <linux/seq_file.h> | 2 | #include <linux/seq_file.h> |
3 | #include <linux/poll.h> | 3 | #include <linux/poll.h> |
4 | #include <linux/ns_common.h> | 4 | #include <linux/ns_common.h> |
5 | #include <linux/fs_pin.h> | ||
5 | 6 | ||
6 | struct mnt_namespace { | 7 | struct mnt_namespace { |
7 | atomic_t count; | 8 | atomic_t count; |
@@ -62,7 +63,8 @@ struct mount { | |||
62 | int mnt_group_id; /* peer group identifier */ | 63 | int mnt_group_id; /* peer group identifier */ |
63 | int mnt_expiry_mark; /* true if marked for expiry */ | 64 | int mnt_expiry_mark; /* true if marked for expiry */ |
64 | struct hlist_head mnt_pins; | 65 | struct hlist_head mnt_pins; |
65 | struct path mnt_ex_mountpoint; | 66 | struct fs_pin mnt_umount; |
67 | struct dentry *mnt_ex_mountpoint; | ||
66 | }; | 68 | }; |
67 | 69 | ||
68 | #define MNT_NS_INTERNAL ERR_PTR(-EINVAL) /* distinct from any mnt_namespace */ | 70 | #define MNT_NS_INTERNAL ERR_PTR(-EINVAL) /* distinct from any mnt_namespace */ |