]>
git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - fs/mount.h
1 #include <linux/mount.h>
9 struct list_head mnt_hash
;
10 struct mount
*mnt_parent
;
11 struct dentry
*mnt_mountpoint
;
14 struct mnt_pcp __percpu
*mnt_pcp
;
15 atomic_t mnt_longterm
; /* how many of the refs are longterm */
20 struct list_head mnt_mounts
; /* list of children, anchored here */
21 struct list_head mnt_child
; /* and going through their mnt_child */
24 static inline struct mount
*real_mount(struct vfsmount
*mnt
)
26 return container_of(mnt
, struct mount
, mnt
);
29 static inline int mnt_has_parent(struct mount
*mnt
)
31 return mnt
!= mnt
->mnt_parent
;
34 extern struct mount
*__lookup_mnt(struct vfsmount
*, struct dentry
*, int);