]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_ceph_new: improve mount cache-entry add
authorShachar Sharon <ssharon@redhat.com>
Sun, 20 Oct 2024 08:50:13 +0000 (11:50 +0300)
committerAnoop C S <anoopcs@samba.org>
Sun, 3 Nov 2024 09:59:37 +0000 (09:59 +0000)
commit866b872cdb2b08a8b5e6a9015cde9b34c4bcdf01
treef903cbe49a854bce2561f8a8a739b5818c08d35c
parent29a9d18d2d21842bb38bcdc6b9e366abac458ed9
vfs_ceph_new: improve mount cache-entry add

Use boolean return value from cephmount_cache_add, to align code-style
with other caphmount helper functions. Returns false in case of memory
allocation failure, true otherwise (success).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15703

Signed-off-by: Shachar Sharon <ssharon@redhat.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
source3/modules/vfs_ceph_new.c