diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-03-15 10:53:28 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-09 14:12:52 -0400 |
commit | 84d17192d2afd52aeba88c71ae4959a015f56a38 (patch) | |
tree | ccc7359f7b35352fb143eae16dec44d9ce766de6 /fs/mount.h | |
parent | e9c5d8a562f01b211926d70443378eb14b29a676 (diff) | |
download | kernel_goldelico_gta04-84d17192d2afd52aeba88c71ae4959a015f56a38.zip kernel_goldelico_gta04-84d17192d2afd52aeba88c71ae4959a015f56a38.tar.gz kernel_goldelico_gta04-84d17192d2afd52aeba88c71ae4959a015f56a38.tar.bz2 |
get rid of full-hash scan on detaching vfsmounts
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/mount.h')
-rw-r--r-- | fs/mount.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -18,6 +18,12 @@ struct mnt_pcp { int mnt_writers; }; +struct mountpoint { + struct list_head m_hash; + struct dentry *m_dentry; + int m_count; +}; + struct mount { struct list_head mnt_hash; struct mount *mnt_parent; @@ -40,6 +46,7 @@ struct mount { struct list_head mnt_slave; /* slave list entry */ struct mount *mnt_master; /* slave is on master->mnt_slave_list */ struct mnt_namespace *mnt_ns; /* containing namespace */ + struct mountpoint *mnt_mp; /* where is it mounted */ #ifdef CONFIG_FSNOTIFY struct hlist_head mnt_fsnotify_marks; __u32 mnt_fsnotify_mask; |