]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_ceph_new: Add a new struct to hold ceph module config
authorGuenther Deschner <gd@samba.org>
Thu, 5 Sep 2024 06:49:52 +0000 (12:19 +0530)
committerJule Anger <janger@samba.org>
Mon, 17 Feb 2025 09:53:26 +0000 (09:53 +0000)
commit5f6622e04beb678355a3aa537b3f868e27a2007b
tree3b031077086633c9f52104b85830f98aceb3d98b
parent9aa97eb93bdbb2ed0088c6f9388e216e069c6e31
vfs_ceph_new: Add a new struct to hold ceph module config

Consolidate all required configuration related data under a dedicated
structure named vfs_ceph_config. As of now it includes the location of
configuration file, file system name, ceph client user id and mount
related information. This is expected to grow in future with more
details as and when required. Apart from that small cleanups are also
done to make code more robust.

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

Pair-Programmed-With: Anoop C S <anoopcs@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
(cherry picked from commit f1d418181d12bd513204cf2b77c37990939e2041)
source3/modules/vfs_ceph_new.c