mirror of
https://github.com/samba-team/samba.git
synced 2025-03-11 16:58:40 +03:00
s3: libsmbclient: Fix smbc_getxattr() to return 0 on success.
Remove knownfail. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14808 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: David Mulder <dmulder@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Nov 1 18:31:22 UTC 2022 on sn-devel-184 (cherry picked from commit bdbb38d16c8eaff33484bb747efa639c4d8e7f35)
This commit is contained in:
parent
a92a004349
commit
50330f69a0
@ -1 +0,0 @@
|
||||
^samba4.libsmbclient.getxattr.*
|
@ -2180,7 +2180,11 @@ SMBC_getxattr_ctx(SMBCCTX *context,
|
||||
errno = SMBC_errno(context, srv->cli);
|
||||
}
|
||||
TALLOC_FREE(frame);
|
||||
return ret;
|
||||
/*
|
||||
* static function cacl_get returns a value greater than zero
|
||||
* on success. Map this to zero meaning success.
|
||||
*/
|
||||
return ret < 0 ? -1 : 0;
|
||||
}
|
||||
|
||||
/* Unsupported attribute name */
|
||||
|
Loading…
x
Reference in New Issue
Block a user