From: Patrick Donnelly Date: Thu, 17 Apr 2025 23:50:34 +0000 (-0400) Subject: pybind/mgr/volumes: fix typo in casesensitive vxattr X-Git-Tag: v20.1.0~23^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=81f6edd15438df0125d5cd1505af35a6e05ef959;p=ceph.git pybind/mgr/volumes: fix typo in casesensitive vxattr Fixes: https://tracker.ceph.com/issues/70974 Signed-off-by: Patrick Donnelly (cherry picked from commit 63b95c3ee9a6ed8f537336cc50bd150ee36c773c) --- diff --git a/src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py b/src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py index 7a6dde11750b..4627095e960b 100644 --- a/src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py +++ b/src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py @@ -211,8 +211,8 @@ class SubvolumeBase(object): attrs["normalization"] = None try: - case_insensitive = self.fs.getxattr(pathname, 'ceph.dir.caseinsensitive').decode('utf-8') - attrs["case_insensitive"] = case_insensitive == "0" + casesensitive = self.fs.getxattr(pathname, 'ceph.dir.casesensitive').decode('utf-8') + attrs["case_insensitive"] = casesensitive == "0" except cephfs.NoData: attrs["case_insensitive"] = False