summaryrefslogtreecommitdiff
path: root/fs/overlayfs/copy_up.c
diff options
context:
space:
mode:
authoryoungjun <her0gyugyu@gmail.com>2020-06-21 07:30:59 -0700
committerMiklos Szeredi <mszeredi@redhat.com>2020-07-16 00:06:16 +0200
commit5ac8e8025aedd2ea832ae3fe3ca0f920697f45c7 (patch)
treed65464ead27151efe3a3137c59b9e832a425bbe8 /fs/overlayfs/copy_up.c
parent24f14009b8f1754ec2ae4c168940c01259b0f88a (diff)
ovl: change ovl_copy_up_flags static
"ovl_copy_up_flags" is used in copy_up.c. so, change it static. Signed-off-by: youngjun <her0gyugyu@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/copy_up.c')
-rw-r--r--fs/overlayfs/copy_up.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/copy_up.c b/fs/overlayfs/copy_up.c
index 79dd052c7dbf..5e0cde85bd6b 100644
--- a/fs/overlayfs/copy_up.c
+++ b/fs/overlayfs/copy_up.c
@@ -895,7 +895,7 @@ static int ovl_copy_up_one(struct dentry *parent, struct dentry *dentry,
return err;
}
-int ovl_copy_up_flags(struct dentry *dentry, int flags)
+static int ovl_copy_up_flags(struct dentry *dentry, int flags)
{
int err = 0;
const struct cred *old_cred = ovl_override_creds(dentry->d_sb);