This is a simple change that updates the logged mounted directory.
We're incorrectly using "ceph_getcwd" instead of the actual root
path.
Fixes: https://tracker.ceph.com/issues/49662
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
(cherry picked from commit
7e8ea37c704422aade3c9b1ef34a0c8a4b17e1b3)
}
atexit(unmount_atexit);
- dout(0) << "Mounted cephfs directory: " << ceph_getcwd(cmount)
+ dout(0) << "Mounted cephfs directory: " << g_cfg->root_path.c_str()
<<". Mountpoint: " << to_string(g_cfg->mountpoint) << dendl;
DWORD status = DokanMain(dokan_options, dokan_operations);
int thread_count = CEPH_DOKAN_DEFAULT_THREAD_COUNT;
std::wstring mountpoint = L"";
- std::string root_path = "";
+ std::string root_path = "/";
std::wstring win_vol_name = L"";
unsigned long win_vol_serial = 0;