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>
This commit is contained in:
Miklos Szeredi
2020-09-02 10:58:48 +02:00
parent 7109704705
commit 26150ab5ea
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -456,7 +456,7 @@ int ovl_verify_set_fh(struct dentry *dentry, const char *name,
err = ovl_verify_fh(dentry, name, fh);
if (set && err == -ENODATA)
err = ovl_do_setxattr(dentry, name, fh->buf, fh->fb.len, 0);
err = ovl_do_setxattr(dentry, name, fh->buf, fh->fb.len);
if (err)
goto fail;