ovl: pass ovl_fs down to functions accessing private xattrs

This paves the way for optionally using the "user.overlay." xattr
namespace.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
This commit is contained in:
Miklos Szeredi
2020-09-02 10:58:49 +02:00
parent 26150ab5ea
commit 610afc0bd4
9 changed files with 107 additions and 86 deletions

View File

@@ -752,7 +752,7 @@ static struct dentry *ovl_lower_fh_to_d(struct super_block *sb,
goto out_err;
}
if (index) {
err = ovl_verify_origin(index, origin.dentry, false);
err = ovl_verify_origin(ofs, index, origin.dentry, false);
if (err)
goto out_err;
}