Actions
Bug #48206
closedclient: fix crash when doing remount in none fuse case
% Done:
0%
Source:
Development
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Client, libcephfs
Labels (FS):
crash
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The g_conf() will try to dereference the `g_ceph_context` to get the `_conf`, but the `g_ceph_context` is not set in none fuse use case in libcephfs, so it will crash in `g_conf().get_val<>`.
Switch to use `cct->_conf.get_val<>` instead.
Actions