summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mount/fuse/src/fuse-helpers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/mount/fuse/src/fuse-helpers.c b/xlators/mount/fuse/src/fuse-helpers.c
index 832f57e1cdb..e4455b57426 100644
--- a/xlators/mount/fuse/src/fuse-helpers.c
+++ b/xlators/mount/fuse/src/fuse-helpers.c
@@ -559,10 +559,10 @@ fuse_ignore_xattr_set (fuse_private_t *priv, char *key)
goto out;
/* trusted NS check */
- if (!((fnmatch (PRIV_XA_NS".glusterfs.*.xtime", key, FNM_PERIOD) == 0)
- || (fnmatch (PRIV_XA_NS".glusterfs.volume-mark",
+ if (!((fnmatch ("*.glusterfs.*.xtime", key, FNM_PERIOD) == 0)
+ || (fnmatch ("*.glusterfs.volume-mark",
key, FNM_PERIOD) == 0)
- || (fnmatch (PRIV_XA_NS".glusterfs.volume-mark.*",
+ || (fnmatch ("*.glusterfs.volume-mark.*",
key, FNM_PERIOD) == 0)))
ret = -1;