diff options
Diffstat (limited to 'include/linux/mount.h')
| -rw-r--r-- | include/linux/mount.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/mount.h b/include/linux/mount.h index 60718f12caa9..403d1a97c512 100644 --- a/include/linux/mount.h +++ b/include/linux/mount.h | |||
| @@ -28,6 +28,8 @@ struct namespace; | |||
| 28 | #define MNT_NOATIME 0x08 | 28 | #define MNT_NOATIME 0x08 |
| 29 | #define MNT_NODIRATIME 0x10 | 29 | #define MNT_NODIRATIME 0x10 |
| 30 | 30 | ||
| 31 | #define MNT_SHRINKABLE 0x100 | ||
| 32 | |||
| 31 | #define MNT_SHARED 0x1000 /* if the vfsmount is a shared mount */ | 33 | #define MNT_SHARED 0x1000 /* if the vfsmount is a shared mount */ |
| 32 | #define MNT_UNBINDABLE 0x2000 /* if the vfsmount is a unbindable mount */ | 34 | #define MNT_UNBINDABLE 0x2000 /* if the vfsmount is a unbindable mount */ |
| 33 | #define MNT_PNODE_MASK 0x3000 /* propogation flag mask */ | 35 | #define MNT_PNODE_MASK 0x3000 /* propogation flag mask */ |
| @@ -78,12 +80,18 @@ extern struct vfsmount *alloc_vfsmnt(const char *name); | |||
| 78 | extern struct vfsmount *do_kern_mount(const char *fstype, int flags, | 80 | extern struct vfsmount *do_kern_mount(const char *fstype, int flags, |
| 79 | const char *name, void *data); | 81 | const char *name, void *data); |
| 80 | 82 | ||
| 83 | struct file_system_type; | ||
| 84 | extern struct vfsmount *vfs_kern_mount(struct file_system_type *type, | ||
| 85 | int flags, const char *name, | ||
| 86 | void *data); | ||
| 87 | |||
| 81 | struct nameidata; | 88 | struct nameidata; |
| 82 | 89 | ||
| 83 | extern int do_add_mount(struct vfsmount *newmnt, struct nameidata *nd, | 90 | extern int do_add_mount(struct vfsmount *newmnt, struct nameidata *nd, |
| 84 | int mnt_flags, struct list_head *fslist); | 91 | int mnt_flags, struct list_head *fslist); |
| 85 | 92 | ||
| 86 | extern void mark_mounts_for_expiry(struct list_head *mounts); | 93 | extern void mark_mounts_for_expiry(struct list_head *mounts); |
| 94 | extern void shrink_submounts(struct vfsmount *mountpoint, struct list_head *mounts); | ||
| 87 | 95 | ||
| 88 | extern spinlock_t vfsmount_lock; | 96 | extern spinlock_t vfsmount_lock; |
| 89 | extern dev_t name_to_dev_t(char *name); | 97 | extern dev_t name_to_dev_t(char *name); |
