diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-01-11 01:01:08 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-01-26 05:17:29 +0100 |
commit | 87b95ce0964c016ede92763be9c164e49f1019e9 (patch) | |
tree | 168ea89fd898a2a0c70601d252171fc1a76f15f9 /fs/mount.h | |
parent | new fs_pin killing logics (diff) | |
download | linux-87b95ce0964c016ede92763be9c164e49f1019e9.tar.xz linux-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 */ |