]> 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 16:09:08 +0000 (16:09 +0000)
commit12137411955d0826e49639bc938be92d1ae23970
treef9ca0e7be7d3914a0295a102d767db4d421cf550
parent608d2d55cac84cf8186c3d87f2bec501a7d833d6
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