diff options
Diffstat (limited to 'fs/mount.h')
-rw-r--r-- | fs/mount.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/mount.h b/fs/mount.h index cd5007980400..64a858143ff9 100644 --- a/fs/mount.h +++ b/fs/mount.h | |||
@@ -18,6 +18,12 @@ struct mnt_pcp { | |||
18 | int mnt_writers; | 18 | int mnt_writers; |
19 | }; | 19 | }; |
20 | 20 | ||
21 | struct mountpoint { | ||
22 | struct list_head m_hash; | ||
23 | struct dentry *m_dentry; | ||
24 | int m_count; | ||
25 | }; | ||
26 | |||
21 | struct mount { | 27 | struct mount { |
22 | struct list_head mnt_hash; | 28 | struct list_head mnt_hash; |
23 | struct mount *mnt_parent; | 29 | struct mount *mnt_parent; |
@@ -40,6 +46,7 @@ struct mount { | |||
40 | struct list_head mnt_slave; /* slave list entry */ | 46 | struct list_head mnt_slave; /* slave list entry */ |
41 | struct mount *mnt_master; /* slave is on master->mnt_slave_list */ | 47 | struct mount *mnt_master; /* slave is on master->mnt_slave_list */ |
42 | struct mnt_namespace *mnt_ns; /* containing namespace */ | 48 | struct mnt_namespace *mnt_ns; /* containing namespace */ |
49 | struct mountpoint *mnt_mp; /* where is it mounted */ | ||
43 | #ifdef CONFIG_FSNOTIFY | 50 | #ifdef CONFIG_FSNOTIFY |
44 | struct hlist_head mnt_fsnotify_marks; | 51 | struct hlist_head mnt_fsnotify_marks; |
45 | __u32 mnt_fsnotify_mask; | 52 | __u32 mnt_fsnotify_mask; |