mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
get rid of full-hash scan on detaching vfsmounts
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
e9c5d8a562
commit
84d17192d2
4 changed files with 149 additions and 97 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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue