X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fsmbfs%2Fsmbiod.c;h=24577e2c489b7997e40a691d076c88dd4ac03f79;hb=2a2ed2db353d949c06b6ef8b6913f65b39111eab;hp=3f71384020cb8976962c8e1e3322810a36c579bf;hpb=4854c7b27f0975a2b629f35ea3996d2968eb7c4f;p=~andy%2Flinux diff --git a/fs/smbfs/smbiod.c b/fs/smbfs/smbiod.c index 3f71384020c..24577e2c489 100644 --- a/fs/smbfs/smbiod.c +++ b/fs/smbfs/smbiod.c @@ -193,8 +193,7 @@ int smbiod_retry(struct smb_sb_info *server) if (req->rq_flags & SMB_REQ_RETRY) { /* must move the request to the xmitq */ VERBOSE("retrying request %p on recvq\n", req); - list_del(&req->rq_queue); - list_add(&req->rq_queue, &server->xmitq); + list_move(&req->rq_queue, &server->xmitq); continue; } #endif