From 4b5d40141fc9032a23323856fc98897e684a6298 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Fri, 2 Jan 2026 13:34:30 -0600 Subject: [PATCH] mergerfs_api.cpp --- src/mergerfs_api.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mergerfs_api.cpp b/src/mergerfs_api.cpp index 42a0b6bf..d61584da 100644 --- a/src/mergerfs_api.cpp +++ b/src/mergerfs_api.cpp @@ -62,10 +62,11 @@ mergerfs::api::set_kv(const fs::path &mountpoint_, const std::string &key_, const std::string &val_) { - fs::path dot_mergerfs_filepath; + fs::path cfgfile; std::string xattr_key; - dot_mergerfs_filepath = mountpoint_ / ".mergerfs"; + + cfgfile = ::_mergerfs_config_file(mountpoint_); xattr_key = "user.mergerfs." + key_; return fs::xattr::set(dot_mergerfs_filepath,key_,val_,0);