summaryrefslogtreecommitdiffstats
path: root/xlators/performance/md-cache/src/md-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance/md-cache/src/md-cache.c')
-rw-r--r--xlators/performance/md-cache/src/md-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/md-cache/src/md-cache.c b/xlators/performance/md-cache/src/md-cache.c
index a1280d6a2cc..7da877f87e2 100644
--- a/xlators/performance/md-cache/src/md-cache.c
+++ b/xlators/performance/md-cache/src/md-cache.c
@@ -3236,7 +3236,7 @@ mdc_xattr_list_populate (struct mdc_conf *conf, char *tmp_str)
size_t max_size = 0;
int ret = 0;
- max_size = strlen ("security.capability,security.selinux,security.ima,"
+ max_size = SLEN ("security.capability,security.selinux,security.ima,"
POSIX_ACL_ACCESS_XATTR","POSIX_ACL_DEFAULT_XATTR","
GF_POSIX_ACL_ACCESS","GF_POSIX_ACL_DEFAULT","
"user.swift.metadata,user.DOSATTRIB,user.DosStream.*"