summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
-rw-r--r--xlators/storage/posix/src/posix.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index d16794f9ba5..ec13a083d0d 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -3515,7 +3515,8 @@ posix_get_ancestry_directory (xlator_t *this, inode_t *leaf_inode,
type | POSIX_ANCESTRY_PATH,
leaf_inode->gfid,
handle_size, priv->base_path,
- leaf_inode->table, &inode, xdata);
+ leaf_inode->table, &inode, xdata,
+ op_errno);
if (ret < 0)
goto out;
@@ -3771,7 +3772,7 @@ posix_get_ancestry_non_directory (xlator_t *this, inode_t *leaf_inode,
handle_size,
priv->base_path,
leaf_inode->table,
- &parent, xdata);
+ &parent, xdata, op_errno);
if (op_ret < 0) {
goto next;
}