From f7fb326c250997f274e4e928faec9aeca4ce12c9 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Tue, 15 Mar 2011 01:57:15 +0000 Subject: nfs-rpc: Append replies to end of connection's txlist ..instead of prepending. Signed-off-by: Shehjar Tikoo Signed-off-by: Vijay Bellur BUG: 2491 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2491 --- xlators/nfs/lib/src/rpcsvc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators') 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); -- cgit