diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2012-05-14 13:06:13 +0200 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2012-06-20 20:14:17 -0600 |
commit | c3ffc38c088b186128ef91a5b6fd73826eba22f6 (patch) | |
tree | 182f212702c3df1166f8e39f724261ea3f325e80 /include | |
parent | 61374a2dd00e9016823341c7112bf40a9c9d9595 (diff) |
UBUNTU: ubuntu: overlayfs -- vfs: introduce clone_private_mount()
Overlayfs needs a private clone of the mount, so create a function for
this and export to modules.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mount.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mount.h b/include/linux/mount.h index d7029f4a191..344a2623eb2 100644 --- a/include/linux/mount.h +++ b/include/linux/mount.h @@ -66,6 +66,9 @@ extern void mnt_pin(struct vfsmount *mnt); extern void mnt_unpin(struct vfsmount *mnt); extern int __mnt_is_readonly(struct vfsmount *mnt); +struct path; +extern struct vfsmount *clone_private_mount(struct path *path); + struct file_system_type; extern struct vfsmount *vfs_kern_mount(struct file_system_type *type, int flags, const char *name, |