]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_ceph_new: Remove unused code in cephmount_mount_fs()
authorAnoop C S <anoopcs@samba.org>
Mon, 24 Feb 2025 06:39:06 +0000 (12:09 +0530)
committerGünther Deschner <gd@samba.org>
Fri, 7 Mar 2025 17:15:35 +0000 (17:15 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15818

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

index c3ca24e2fe19ac61d0dae035ed635d8bfc2c047a..de55449da2482febe9842e92fac17de19a97fe95 100644 (file)
@@ -274,7 +274,6 @@ static struct ceph_mount_info *cephmount_mount_fs(
        struct vfs_ceph_config *config)
 {
        int ret;
-       char buf[256];
        struct ceph_mount_info *mnt = NULL;
        /* if config_file and/or user_id are NULL, ceph will use defaults */
 
@@ -294,12 +293,6 @@ static struct ceph_mount_info *cephmount_mount_fs(
                goto out;
        }
 
-       DBG_DEBUG("[CEPH] calling ceph_conf_get: option='%s'\n", "log_file");
-       ret = config->ceph_conf_get_fn(mnt, "log_file", buf, sizeof(buf));
-       if (ret < 0) {
-               goto out;
-       }
-
        /* libcephfs disables POSIX ACL support by default, enable it... */
        ret = cephmount_update_conf(config,
                                    mnt,