diff options
Diffstat (limited to 'xlators/storage/posix/src/posix-helpers.c')
| -rw-r--r-- | xlators/storage/posix/src/posix-helpers.c | 2 | 
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 513a2f0a2b4..4528445625e 100644 --- a/xlators/storage/posix/src/posix-helpers.c +++ b/xlators/storage/posix/src/posix-helpers.c @@ -1070,7 +1070,7 @@ verify_handle:          ret = posix_handle_soft(this, path, loc, uuid_curr, &stat);  out: -    if (!(*op_errno)) +    if (ret && !(*op_errno))          *op_errno = errno;      return ret;  }  | 
