diff options
| author | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-06-26 01:31:38 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dtor_core@ameritech.net> | 2006-06-26 01:31:38 -0400 |
| commit | 4854c7b27f0975a2b629f35ea3996d2968eb7c4f (patch) | |
| tree | 4102bdb70289764a2058aff0f907b13d7cf0e0d1 /include/linux/mount.h | |
| parent | 3cbd5b32cb625f5c0f1b1476d154fac873dd49ce (diff) | |
| parent | fcc18e83e1f6fd9fa6b333735bf0fcd530655511 (diff) | |
Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'include/linux/mount.h')
| -rw-r--r-- | include/linux/mount.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/mount.h b/include/linux/mount.h index b7472ae91fa4..403d1a97c512 100644 --- a/include/linux/mount.h +++ b/include/linux/mount.h | |||
| @@ -17,12 +17,19 @@ | |||
| 17 | #include <linux/spinlock.h> | 17 | #include <linux/spinlock.h> |
| 18 | #include <asm/atomic.h> | 18 | #include <asm/atomic.h> |
| 19 | 19 | ||
| 20 | struct super_block; | ||
| 21 | struct vfsmount; | ||
| 22 | struct dentry; | ||
| 23 | struct namespace; | ||
| 24 | |||
| 20 | #define MNT_NOSUID 0x01 | 25 | #define MNT_NOSUID 0x01 |
| 21 | #define MNT_NODEV 0x02 | 26 | #define MNT_NODEV 0x02 |
| 22 | #define MNT_NOEXEC 0x04 | 27 | #define MNT_NOEXEC 0x04 |
| 23 | #define MNT_NOATIME 0x08 | 28 | #define MNT_NOATIME 0x08 |
| 24 | #define MNT_NODIRATIME 0x10 | 29 | #define MNT_NODIRATIME 0x10 |
| 25 | 30 | ||
| 31 | #define MNT_SHRINKABLE 0x100 | ||
| 32 | |||
| 26 | #define MNT_SHARED 0x1000 /* if the vfsmount is a shared mount */ | 33 | #define MNT_SHARED 0x1000 /* if the vfsmount is a shared mount */ |
| 27 | #define MNT_UNBINDABLE 0x2000 /* if the vfsmount is a unbindable mount */ | 34 | #define MNT_UNBINDABLE 0x2000 /* if the vfsmount is a unbindable mount */ |
| 28 | #define MNT_PNODE_MASK 0x3000 /* propogation flag mask */ | 35 | #define MNT_PNODE_MASK 0x3000 /* propogation flag mask */ |
| @@ -73,12 +80,18 @@ extern struct vfsmount *alloc_vfsmnt(const char *name); | |||
| 73 | extern struct vfsmount *do_kern_mount(const char *fstype, int flags, | 80 | extern struct vfsmount *do_kern_mount(const char *fstype, int flags, |
| 74 | const char *name, void *data); | 81 | const char *name, void *data); |
| 75 | 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 | |||
| 76 | struct nameidata; | 88 | struct nameidata; |
| 77 | 89 | ||
| 78 | extern int do_add_mount(struct vfsmount *newmnt, struct nameidata *nd, | 90 | extern int do_add_mount(struct vfsmount *newmnt, struct nameidata *nd, |
| 79 | int mnt_flags, struct list_head *fslist); | 91 | int mnt_flags, struct list_head *fslist); |
| 80 | 92 | ||
| 81 | 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); | ||
| 82 | 95 | ||
| 83 | extern spinlock_t vfsmount_lock; | 96 | extern spinlock_t vfsmount_lock; |
| 84 | extern dev_t name_to_dev_t(char *name); | 97 | extern dev_t name_to_dev_t(char *name); |
