aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorRam Pai <linuxram@us.ibm.com>2005-11-07 17:19:50 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-07 21:18:11 -0500
commitb90fa9ae8f51f098ee480bbaabd6867992e9fc58 (patch)
tree2ad583b3a7399face7a78730b001928413c8269e /include/linux/fs.h
parent03e06e68ff76294e53ffa898cb844d2a997b043e (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/linux/fs.h')
-rw-r--r--include/linux/fs.h5
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 *);
1251extern struct vfsmount *kern_mount(struct file_system_type *); 1251extern struct vfsmount *kern_mount(struct file_system_type *);
1252extern int may_umount_tree(struct vfsmount *); 1252extern int may_umount_tree(struct vfsmount *);
1253extern int may_umount(struct vfsmount *); 1253extern int may_umount(struct vfsmount *);
1254extern void umount_tree(struct vfsmount *, struct list_head *);
1255extern void release_mounts(struct list_head *);
1254extern long do_mount(char *, char *, char *, unsigned long, void *); 1256extern long do_mount(char *, char *, char *, unsigned long, void *);
1257extern struct vfsmount *copy_tree(struct vfsmount *, struct dentry *, int);
1258extern void mnt_set_mountpoint(struct vfsmount *, struct dentry *,
1259 struct vfsmount *);
1255 1260
1256extern int vfs_statfs(struct super_block *, struct kstatfs *); 1261extern int vfs_statfs(struct super_block *, struct kstatfs *);
1257 1262