summaryrefslogtreecommitdiffstats
path: root/xlators/meta/src/meta-defaults.c
diff options
context:
space:
mode:
authorSusant Palai <spalai@redhat.com>2015-11-25 05:07:03 -0500
committerPranith Kumar Karampuri <pkarampu@redhat.com>2016-08-07 23:11:25 -0700
commit7922599e4dbad6958f939d0ffd222dfa7c786e57 (patch)
tree83b77d9a60bc9fd5e71144b8a32562fd7f5da5d5 /xlators/meta/src/meta-defaults.c
parent59378892641a10ba0268a044310264e52afe8ea0 (diff)
posix: fix posix_fgetxattr to return the correct error
posix_fgetxattr used to not updating op_ret and op_errno (initialized to -1 and ENOENT respectively) on success cases. Hence, it can return ENOENT even if all the opertions were sucessful. BUG: 1358823 Change-Id: I1799ca7e48a4bd800a678366d2b6927d19c31f88 Signed-off-by: Susant Palai <spalai@redhat.com> Reviewed-on: http://review.gluster.org/12745 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Signed-off-by: Susant Palai <spalai@redhat.com> Reviewed-on: http://review.gluster.org/13449 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/meta/src/meta-defaults.c')
0 files changed, 0 insertions, 0 deletions