diff options
Diffstat (limited to 'xlators')
| -rw-r--r-- | xlators/storage/posix/src/posix.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 450c6b5d9cd..340d71bcbf2 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -1074,6 +1074,8 @@ posix_unlink (call_frame_t *frame, xlator_t *this,                          close (fd);                  else                          inode_ctx_put (loc->inode, this, (uint64_t) fd); + +		fd = -1;          }  fail:          if (fd != -1)  | 
