diff options
author | 2020-09-02 10:58:49 +0200 | |
---|---|---|
committer | 2020-09-02 10:58:49 +0200 | |
commit | 610afc0bd40882181718be2ae1e0264466bba2c7 (patch) | |
tree | cbff2984cb99220bfee43fd1da2f855e4fcea0a6 /fs/overlayfs/dir.c | |
parent | ovl: drop flags argument from ovl_do_setxattr() (diff) | |
download | linux-610afc0bd40882181718be2ae1e0264466bba2c7.tar.gz linux-610afc0bd40882181718be2ae1e0264466bba2c7.tar.bz2 linux-610afc0bd40882181718be2ae1e0264466bba2c7.zip |
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>
Diffstat (limited to 'fs/overlayfs/dir.c')
-rw-r--r-- | fs/overlayfs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/dir.c b/fs/overlayfs/dir.c index 1bba4813f9cb..28a075b5f5b2 100644 --- a/fs/overlayfs/dir.c +++ b/fs/overlayfs/dir.c @@ -394,7 +394,7 @@ static struct dentry *ovl_clear_empty(struct dentry *dentry, if (IS_ERR(opaquedir)) goto out_unlock; - err = ovl_copy_xattr(upper, opaquedir); + err = ovl_copy_xattr(dentry->d_sb, upper, opaquedir); if (err) goto out_cleanup; |