diff options
author | Susant Palai <spalai@redhat.com> | 2015-11-25 05:07:03 -0500 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2016-08-07 23:11:25 -0700 |
commit | 7922599e4dbad6958f939d0ffd222dfa7c786e57 (patch) | |
tree | 83b77d9a60bc9fd5e71144b8a32562fd7f5da5d5 /COPYING-GPLV2 | |
parent | 59378892641a10ba0268a044310264e52afe8ea0 (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 'COPYING-GPLV2')
0 files changed, 0 insertions, 0 deletions