summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/storage/posix/src/posix.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/storage/posix/src/posix.c b/xlators/storage/posix/src/posix.c
index b1ab006219d..d487016d500 100644
--- a/xlators/storage/posix/src/posix.c
+++ b/xlators/storage/posix/src/posix.c
@@ -5176,7 +5176,6 @@ posix_fgetxattr (call_frame_t *frame, xlator_t *this,
size = sys_fgetxattr (_fd, key, NULL, 0);
}
if (size == -1) {
- op_ret = -1;
op_errno = errno;
if (errno == ENODATA || errno == ENOATTR) {
gf_msg_debug (this->name, 0, "fgetxattr"