]> 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)
committerJule Anger <janger@samba.org>
Mon, 17 Feb 2025 16:09:09 +0000 (16:09 +0000)
commit6a09316d29c0ae97f583196f2624f79cb4a54364
tree7c1175c9ac0d6dffbd8ca1d80bcccfb98eecea97
parent00d505ae38e935d4594041533363050523139bbd
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>
(cherry picked from commit 866b872cdb2b08a8b5e6a9015cde9b34c4bcdf01)
source3/modules/vfs_ceph_new.c