diff options
| -rw-r--r-- | xlators/storage/posix/src/posix-handle.c | 5 | 
1 files changed, 1 insertions, 4 deletions
diff --git a/xlators/storage/posix/src/posix-handle.c b/xlators/storage/posix/src/posix-handle.c index 3c8e2417188..38e3198d812 100644 --- a/xlators/storage/posix/src/posix-handle.c +++ b/xlators/storage/posix/src/posix-handle.c @@ -224,13 +224,10 @@ posix_make_ancestryfromgfid (xlator_t *this, char *path, int pathsize,                  }                  inode_unref (*parent); -                *parent = inode_ref(inode); +                *parent = inode;                  top--;          }  out: -        if (*parent != NULL) { -                inode_unref (*parent); -        }          return ret;  }  | 
