aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-06-07 12:20:32 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2007-10-21 02:37:25 -0400
commit8aec08094570562bc305df33b088926d983c3540 (patch)
tree399f4590f81428d1f72d754d336da13c449120f9 /include/linux
parent5a190ae69766da9a34bf31200c5cea4c0667cf94 (diff)
[PATCH] new helpers - collect_mounts() and release_collected_mounts()
Get a snapshot of a subtree, creating private clones of vfsmounts for all its components and release such snapshot resp. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 1bcce660cf03..50078bb30a1c 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1470,6 +1470,8 @@ extern long do_mount(char *, char *, char *, unsigned long, void *);
1470extern struct vfsmount *copy_tree(struct vfsmount *, struct dentry *, int); 1470extern struct vfsmount *copy_tree(struct vfsmount *, struct dentry *, int);
1471extern void mnt_set_mountpoint(struct vfsmount *, struct dentry *, 1471extern void mnt_set_mountpoint(struct vfsmount *, struct dentry *,
1472 struct vfsmount *); 1472 struct vfsmount *);
1473extern struct vfsmount *collect_mounts(struct vfsmount *, struct dentry *);
1474extern void drop_collected_mounts(struct vfsmount *);
1473 1475
1474extern int vfs_statfs(struct dentry *, struct kstatfs *); 1476extern int vfs_statfs(struct dentry *, struct kstatfs *);
1475 1477