diff options
Diffstat (limited to 'xlators')
| -rw-r--r-- | xlators/storage/posix/src/posix.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 22a9574dc..f699e4c4d 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -3489,8 +3489,7 @@ posix_fill_readdir (fd_t *fd, DIR *dir, off_t off, size_t size,  #endif /* __NetBSD__ */                  if ((uuid_compare (fd->inode->gfid, rootgfid) == 0) -                    && (!strncmp (GF_HIDDEN_PATH, entry->d_name, -                                  strlen (GF_HIDDEN_PATH)))) { +                    && (!strcmp (GF_HIDDEN_PATH, entry->d_name))) {                          continue;                  }  | 
