diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2020-09-02 10:58:48 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-09-02 10:58:48 +0200 |
commit | 26150ab5eae16cef151d5e6ad5b5b38544dbf88a (patch) | |
tree | ac03cdde6ac7f65fa4c055e014cd6c171010789e /fs/overlayfs/util.c | |
parent | ovl: adhere to the vfs_ vs. ovl_do_ conventions for xattrs (diff) | |
download | linux-26150ab5eae16cef151d5e6ad5b5b38544dbf88a.tar.xz linux-26150ab5eae16cef151d5e6ad5b5b38544dbf88a.zip |
ovl: drop flags argument from ovl_do_setxattr()
All callers pass zero flags to ovl_do_setxattr(). So drop this argument.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/util.c')
-rw-r--r-- | fs/overlayfs/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/util.c b/fs/overlayfs/util.c index d2a77659e883..7d86dba0db68 100644 --- a/fs/overlayfs/util.c +++ b/fs/overlayfs/util.c @@ -582,7 +582,7 @@ int ovl_check_setxattr(struct dentry *dentry, struct dentry *upperdentry, if (ofs->noxattr) return xerr; - err = ovl_do_setxattr(upperdentry, name, value, size, 0); + err = ovl_do_setxattr(upperdentry, name, value, size); if (err == -EOPNOTSUPP) { pr_warn("cannot set %s xattr on upper\n", name); |