summaryrefslogtreecommitdiff
path: root/fs/overlayfs/namei.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2021-06-19 12:26:17 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2021-08-17 12:47:43 +0300
commita0c236b11706cc223252ad97e80871a18d9ee812 (patch)
tree9f4fe402ef4a36436530f539a671c18a53d7aeaf /fs/overlayfs/namei.c
parent4f911138c8da94bcff84f1d093d28e378703c43f (diff)
downloadlinux-a0c236b11706cc223252ad97e80871a18d9ee812.tar.xz
ovl: pass ovl_fs to ovl_check_setxattr()
Instead of passing the overlay dentry. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/namei.c')
-rw-r--r--fs/overlayfs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/namei.c b/fs/overlayfs/namei.c
index 210cd6f66e28..da063b18b419 100644
--- a/fs/overlayfs/namei.c
+++ b/fs/overlayfs/namei.c
@@ -811,7 +811,7 @@ static int ovl_fix_origin(struct ovl_fs *ofs, struct dentry *dentry,
if (err)
return err;
- err = ovl_set_origin(ofs, dentry, lower, upper);
+ err = ovl_set_origin(ofs, lower, upper);
if (!err)
err = ovl_set_impure(dentry->d_parent, upper->d_parent);