summaryrefslogtreecommitdiffstats
path: root/fs/mount.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-02-27 20:40:10 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2014-04-02 05:19:09 +0200
commitc7999c3627bc6d49aa6fb9451063938cfd2c2082 (patch)
tree05dba953a6e648864cfa580ae6f754b1570e1f46 /fs/mount.h
parentsmarter propagate_mnt() (diff)
downloadlinux-c7999c3627bc6d49aa6fb9451063938cfd2c2082.tar.xz
linux-c7999c3627bc6d49aa6fb9451063938cfd2c2082.zip
reduce m_start() cost...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/mount.h')
-rw-r--r--fs/mount.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/mount.h b/fs/mount.h
index b29e42f05f34..d55297f2fa05 100644
--- a/fs/mount.h
+++ b/fs/mount.h
@@ -10,7 +10,7 @@ struct mnt_namespace {
struct user_namespace *user_ns;
u64 seq; /* Sequence number to prevent loops */
wait_queue_head_t poll;
- int event;
+ u64 event;
};
struct mnt_pcp {
@@ -104,6 +104,9 @@ struct proc_mounts {
struct mnt_namespace *ns;
struct path root;
int (*show)(struct seq_file *, struct vfsmount *);
+ void *cached_mount;
+ u64 cached_event;
+ loff_t cached_index;
};
#define proc_mounts(p) (container_of((p), struct proc_mounts, m))