diff options
author | Gaurav <gaurav@gluster.com> | 2011-02-28 22:40:46 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-03-01 02:06:04 -0800 |
commit | a3ab0ad1f1c0a5574ae294f5d72aac4df8f50124 (patch) | |
tree | d41e6b551a6eb097380df76d08d60e33684977e4 /xlators/nfs | |
parent | 731f07378bc0dce305fd3625e9bd4846096a97e3 (diff) |
NFS : Send error reply on rpc decoding failure.
Signed-off-by: Gaurav <gaurav@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 2436 (Not able to send error reply in nfs_rpcsvc)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2436
Diffstat (limited to 'xlators/nfs')
-rw-r--r-- | xlators/nfs/lib/src/rpcsvc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/nfs/lib/src/rpcsvc.c b/xlators/nfs/lib/src/rpcsvc.c index ff3c1facc..f75fe4ccf 100644 --- a/xlators/nfs/lib/src/rpcsvc.c +++ b/xlators/nfs/lib/src/rpcsvc.c @@ -1909,6 +1909,7 @@ nfs_rpcsvc_request_create (rpcsvc_conn_t *conn) if (ret == -1) { gf_log (GF_RPCSVC, GF_LOG_ERROR, "RPC call decoding failed"); nfs_rpcsvc_request_seterr (req, GARBAGE_ARGS); + req->conn = conn; goto err; } |