diff options
author | vmallika <vmallika@redhat.com> | 2015-08-07 15:51:53 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-08-13 03:43:51 -0700 |
commit | fb4955b796ab2f3236e00686ecc99e792f9c0f8b (patch) | |
tree | 5a225e960d22c7d228d85ff120c8789545ced72b /xlators/storage/posix/src/posix.c | |
parent | 15796b3d3efb998bdb5413ac0ad1af1903cae493 (diff) |
posix: posix_make_ancestryfromgfid shouldn't log ENOENT
posix_make_ancestryfromgfid shouldn't log ENOENT
and it should set proper op_errno
Change-Id: I8a87f30bc04d33cab06c91c74baa9563a1c7b45d
BUG: 1251449
Signed-off-by: vmallika <vmallika@redhat.com>
Reviewed-on: http://review.gluster.org/11861
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Manikandan Selvaganesh <mselvaga@redhat.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/storage/posix/src/posix.c')
-rw-r--r-- | xlators/storage/posix/src/posix.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c index 54ff155452b..ffb9f764c99 100644 --- a/xlators/storage/posix/src/posix.c +++ b/xlators/storage/posix/src/posix.c @@ -3503,7 +3503,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; @@ -3759,7 +3760,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; } |