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) | |
download | lwn-87b95ce0964c016ede92763be9c164e49f1019e9.tar.gz lwn-87b95ce0964c016ede92763be9c164e49f1019e9.zip |
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 @@ #include <linux/seq_file.h> #include <linux/poll.h> #include <linux/ns_common.h> +#include <linux/fs_pin.h> struct mnt_namespace { atomic_t count; @@ -62,7 +63,8 @@ struct mount { int mnt_group_id; /* peer group identifier */ int mnt_expiry_mark; /* true if marked for expiry */ struct hlist_head mnt_pins; - struct path mnt_ex_mountpoint; + struct fs_pin mnt_umount; + struct dentry *mnt_ex_mountpoint; }; #define MNT_NS_INTERNAL ERR_PTR(-EINVAL) /* distinct from any mnt_namespace */ |