diff options
author | Susant Palai <spalai@redhat.com> | 2015-11-25 05:07:03 -0500 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-12-08 23:01:52 -0800 |
commit | 848bf0db0dde745e1f3a966db0143b7003bd49b5 (patch) | |
tree | 15075a00a06522f95b9610507b027b1acbedfad8 /xlators/mgmt/glusterd/src/glusterd-volume-ops.c | |
parent | 988495ef1f8bb737d5edd079dec5635309097a62 (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.
Change-Id: I5db3c1821208166a052d734b0be2553d009b8ee4
BUG: 1285230
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>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-ops.c')
0 files changed, 0 insertions, 0 deletions