diff options
author | Ram Pai <linuxram@us.ibm.com> | 2005-11-07 17:19:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 21:18:11 -0500 |
commit | b90fa9ae8f51f098ee480bbaabd6867992e9fc58 (patch) | |
tree | 2ad583b3a7399face7a78730b001928413c8269e /include | |
parent | 03e06e68ff76294e53ffa898cb844d2a997b043e (diff) |
[PATCH] shared mount handling: bind and rbind
Implement handling of MS_BIND in presense of shared mounts (see
Documentation/sharedsubtree.txt in the end of patch series for detailed
description).
Signed-off-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 551fba303cf8..5e188b773e9c 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1251,7 +1251,12 @@ extern int unregister_filesystem(struct file_system_type *); | |||
1251 | extern struct vfsmount *kern_mount(struct file_system_type *); | 1251 | extern struct vfsmount *kern_mount(struct file_system_type *); |
1252 | extern int may_umount_tree(struct vfsmount *); | 1252 | extern int may_umount_tree(struct vfsmount *); |
1253 | extern int may_umount(struct vfsmount *); | 1253 | extern int may_umount(struct vfsmount *); |
1254 | extern void umount_tree(struct vfsmount *, struct list_head *); | ||
1255 | extern void release_mounts(struct list_head *); | ||
1254 | extern long do_mount(char *, char *, char *, unsigned long, void *); | 1256 | extern long do_mount(char *, char *, char *, unsigned long, void *); |
1257 | extern struct vfsmount *copy_tree(struct vfsmount *, struct dentry *, int); | ||
1258 | extern void mnt_set_mountpoint(struct vfsmount *, struct dentry *, | ||
1259 | struct vfsmount *); | ||
1255 | 1260 | ||
1256 | extern int vfs_statfs(struct super_block *, struct kstatfs *); | 1261 | extern int vfs_statfs(struct super_block *, struct kstatfs *); |
1257 | 1262 | ||