summaryrefslogtreecommitdiff
path: root/fs/overlayfs/overlayfs.h
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2018-05-11 18:49:33 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2018-07-20 10:56:16 +0300
commitd1e6f6a94d6cefed2b6f7a222853ebcd2805b43b (patch)
tree886105152c5d50eaa442f8b1e2eeb793937f897b /fs/overlayfs/overlayfs.h
parent0a2d0d3f2f291e3080721888a986ea52e43e1086 (diff)
downloadlinux-d1e6f6a94d6cefed2b6f7a222853ebcd2805b43b.tar.xz
ovl: add helper to force data copy-up
Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/overlayfs.h')
-rw-r--r--fs/overlayfs/overlayfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/overlayfs/overlayfs.h b/fs/overlayfs/overlayfs.h
index c85aa438cc8f..f61839e1054c 100644
--- a/fs/overlayfs/overlayfs.h
+++ b/fs/overlayfs/overlayfs.h
@@ -407,6 +407,7 @@ extern const struct file_operations ovl_file_operations;
/* copy_up.c */
int ovl_copy_up(struct dentry *dentry);
+int ovl_copy_up_with_data(struct dentry *dentry);
int ovl_copy_up_flags(struct dentry *dentry, int flags);
int ovl_open_maybe_copy_up(struct dentry *dentry, unsigned int file_flags);
int ovl_copy_xattr(struct dentry *old, struct dentry *new);