diff options
author | Amir Goldstein <amir73il@gmail.com> | 2016-11-12 21:36:03 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2016-12-16 11:02:57 +0100 |
commit | 9aba652190f8cdced66967c97d6159de0cc8478e (patch) | |
tree | 374a40798a4d0f690e00c80b2b5108603d7ffb78 /fs/overlayfs/overlayfs.h | |
parent | 97c684cc911060ba7f97c0925eaf842f159a39e8 (diff) | |
download | talos-obmc-linux-9aba652190f8cdced66967c97d6159de0cc8478e.tar.gz talos-obmc-linux-9aba652190f8cdced66967c97d6159de0cc8478e.zip |
ovl: fold ovl_copy_up_truncate() into ovl_copy_up()
This removes code duplication.
Signed-off-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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/overlayfs/overlayfs.h b/fs/overlayfs/overlayfs.h index a83de5d5b8a0..e07aa7b0ddb7 100644 --- a/fs/overlayfs/overlayfs.h +++ b/fs/overlayfs/overlayfs.h @@ -219,7 +219,6 @@ void ovl_cleanup(struct inode *dir, struct dentry *dentry); /* copy_up.c */ int ovl_copy_up(struct dentry *dentry); -int ovl_copy_up_one(struct dentry *parent, struct dentry *dentry, - struct path *lowerpath, struct kstat *stat); +int ovl_copy_up_flags(struct dentry *dentry, int flags); int ovl_copy_xattr(struct dentry *old, struct dentry *new); int ovl_set_attr(struct dentry *upper, struct kstat *stat); |