summaryrefslogtreecommitdiffstats
path: root/fs/overlayfs/namei.c
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2021-06-19 11:26:17 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2021-08-17 11:47:43 +0200
commita0c236b11706cc223252ad97e80871a18d9ee812 (patch)
tree9f4fe402ef4a36436530f539a671c18a53d7aeaf /fs/overlayfs/namei.c
parentfs: add generic helper for filling statx attribute flags (diff)
downloadlinux-a0c236b11706cc223252ad97e80871a18d9ee812.tar.xz
linux-a0c236b11706cc223252ad97e80871a18d9ee812.zip
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);