diff options
| author | Shweta Sodani <ssodani@redhat.com> | 2026-04-06 11:21:56 +0530 |
|---|---|---|
| committer | Anoop C S <anoopcs@samba.org> | 2026-04-21 21:15:30 +0000 |
| commit | 5d7c8a876a2048f07594ad105033821f3c61b05b (patch) | |
| tree | 372764af7defb715f33529ef705422ab8d3c12b6 /source4/scripting/python/examples/dnsserver.py | |
| parent | 9dc8dd74b607b3dd6921142c869b16e29f5a121c (diff) | |
| download | samba-5d7c8a876a2048f07594ad105033821f3c61b05b.tar.gz samba-5d7c8a876a2048f07594ad105033821f3c61b05b.tar.bz2 samba-5d7c8a876a2048f07594ad105033821f3c61b05b.zip | |
vfs_ceph_new: fix return type mismatch in disk_free
-ENOMEM cast to uint64_t is not the error sentinel UINT64_MAX and
leaves errno unset. Set errno and return UINT64_MAX instead.
Also replace UINT64_MAX instead of (uint64_t)-1) in all error path.
Signed-off-by: Shweta Sodani <ssodani@redhat.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Diffstat (limited to 'source4/scripting/python/examples/dnsserver.py')
0 files changed, 0 insertions, 0 deletions
