summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/storage/posix/src/posix-helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix-helpers.c b/xlators/storage/posix/src/posix-helpers.c
index f4165cc1111..11265bb802b 100644
--- a/xlators/storage/posix/src/posix-helpers.c
+++ b/xlators/storage/posix/src/posix-helpers.c
@@ -836,7 +836,7 @@ _get_list_xattr (posix_xattr_filler_t *filler)
{
ssize_t size = 0;
- if ((!filler) && (!filler->real_path) && (filler->fdnum < 0))
+ if ((!filler) || ((!filler->real_path) && (filler->fdnum < 0)))
goto out;
if (filler->real_path)