X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Fmount.h;h=64a858143ff923ab80499d5a865bde9de2257314;hb=ca089b7266337c144a17a890c5168f4db205ba85;hp=cd50079804003ece9325c5338089952f9fa0166b;hpb=786133f6e8ff94aaa78cd6b7844d04c227098327;p=karo-tx-linux.git 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 { 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;