summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/lib/src
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/nfs/lib/src')
-rw-r--r--xlators/nfs/lib/src/rpcsvc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/nfs/lib/src/rpcsvc.c b/xlators/nfs/lib/src/rpcsvc.c
index ff3c1facc18..f75fe4ccf3d 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;
}