summaryrefslogtreecommitdiffstats
path: root/xlators/nfs
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2011-03-15 01:57:15 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-31 04:19:41 -0700
commitf7fb326c250997f274e4e928faec9aeca4ce12c9 (patch)
tree2e6407471a4549bf14eb1880b294e638de151c79 /xlators/nfs
parentc294df619656798b107933a42a0f5613c1df0830 (diff)
nfs-rpc: Append replies to end of connection's txlist
..instead of prepending. Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 2491 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2491
Diffstat (limited to 'xlators/nfs')
-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 3f6e3b9f0..0831cf49a 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);