]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_ceph_new: ref cephmount_cached entry in handle->data
authorShachar Sharon <ssharon@redhat.com>
Tue, 18 Jun 2024 09:58:52 +0000 (12:58 +0300)
committerGünther Deschner <gd@samba.org>
Mon, 29 Jul 2024 14:51:37 +0000 (14:51 +0000)
commit31085c7efc3572bd6200d3d8e49c1e554cdbfbcc
tree76a333b8e018e92a8c03786c219ba95862adcd20
parentbeb21324c9a554f50d8d99af2a1b7fe8a17c8ebb
vfs_ceph_new: ref cephmount_cached entry in handle->data

Allow direct access to ceph-mount cached-entry via 'handle->data'
private pointer. Required in order to allow more complex cached-state
with each cephfs mount. Users should now use the local-helper function
'cmount_of' to access the underlying ceph_mount_info.

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

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