summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/nfs/lib/src/rpcsvc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/nfs/lib/src/rpcsvc.c b/xlators/nfs/lib/src/rpcsvc.c
index 3f6e3b9f0ea..0831cf49ab6 100644
--- a/xlators/nfs/lib/src/rpcsvc.c
+++ b/xlators/nfs/lib/src/rpcsvc.c
@@ -1815,8 +1815,8 @@ nfs_rpcsvc_submit_vectors (rpcsvc_request_t *req)
pthread_mutex_lock (&req->conn->connlock);
{
- list_splice_init (&req->txlist, &req->conn->txbufs);
- list_add (&rpctxb->txlist, &req->conn->txbufs);
+ list_add_tail (&rpctxb->txlist, &req->conn->txbufs);
+ list_append_init (&req->txlist, &req->conn->txbufs);
}
pthread_mutex_unlock (&req->conn->connlock);