diff options
Diffstat (limited to 'xlators/protocol/server/src/server-rpc-fops.c')
-rw-r--r-- | xlators/protocol/server/src/server-rpc-fops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server-rpc-fops.c b/xlators/protocol/server/src/server-rpc-fops.c index e7e5fce5395..da902847314 100644 --- a/xlators/protocol/server/src/server-rpc-fops.c +++ b/xlators/protocol/server/src/server-rpc-fops.c @@ -3462,7 +3462,8 @@ server3_3_release (rpcsvc_request_t *req) conn = req->trans->xl_private; if (!conn) { - req->rpc_err = GARBAGE_ARGS; + /* Handshake is not complete yet. */ + req->rpc_err = SYSTEM_ERR; goto out; } gf_fd_put (conn->fdtable, args.fd); |