Skip to content

Commit 63b95c3

Browse files
committed
pybind/mgr/volumes: fix typo in casesensitive vxattr
Fixes: https://tracker.ceph.com/issues/70974 Signed-off-by: Patrick Donnelly <[email protected]>
1 parent 6c01b91 commit 63b95c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ def get_attrs(self, pathname):
211211
attrs["normalization"] = None
212212

213213
try:
214-
case_insensitive = self.fs.getxattr(pathname, 'ceph.dir.caseinsensitive').decode('utf-8')
215-
attrs["case_insensitive"] = case_insensitive == "0"
214+
casesensitive = self.fs.getxattr(pathname, 'ceph.dir.casesensitive').decode('utf-8')
215+
attrs["case_insensitive"] = casesensitive == "0"
216216
except cephfs.NoData:
217217
attrs["case_insensitive"] = False
218218

0 commit comments

Comments
 (0)