summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src/server-handshake.c
diff options
context:
space:
mode:
authorBhumika Goyal <bgoyal@redhat.com>2018-08-19 01:38:53 +0530
committerAmar Tumballi <amarts@redhat.com>2018-08-22 06:45:43 +0000
commit0ebaa9c66347a78c3dce649e833143832114343a (patch)
treede993bd86a00f2f933c62ebfa4570542245a0491 /xlators/protocol/server/src/server-handshake.c
parent0f86ed9f8be0666bb49252daa24b2db6aa174199 (diff)
protocol: coverity fixes
Fixes CID: 1389388 1389320 1274113 1388881 1388623 1124801 1124795 Change-Id: Ia72abc0560c959b0298f42e25abdfc5523755569 updates: bz#789278 Signed-off-by: Bhumika Goyal <bgoyal@redhat.com>
Diffstat (limited to 'xlators/protocol/server/src/server-handshake.c')
-rw-r--r--xlators/protocol/server/src/server-handshake.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/protocol/server/src/server-handshake.c b/xlators/protocol/server/src/server-handshake.c
index 494eafe..c0b0351 100644
--- a/xlators/protocol/server/src/server-handshake.c
+++ b/xlators/protocol/server/src/server-handshake.c
@@ -272,8 +272,6 @@ server_getspec (rpcsvc_request_t *req)
get_checksum_for_file (spec_fd, &checksum);
_volfile_update_checksum (this, key, checksum);
}
- } else {
- op_errno = ENOENT;
}
if (file_len) {