diff options
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
-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 22a9574dcbf..f699e4c4da8 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; } |