All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][2.5] list_move_tail for sunrpc (1 occ)
@ 2002-06-09 15:04 Lightweight patch manager
  0 siblings, 0 replies; only message in thread
From: Lightweight patch manager @ 2002-06-09 15:04 UTC (permalink / raw)
  To: Linux Network; +Cc: Linux Networking Team

This patch introduces the new list_move_tail macro for the sunrpc driver
(net/sunrpc/svcsock.c)

--- linus-2.5/net/sunrpc/svcsock.c	Sun Jun  9 04:17:42 2002
+++ thunder-2.5/net/sunrpc/svcsock.c	Sun Jun  9 07:43:53 2002
@@ -1065,8 +1065,7 @@
 	if (test_bit(SK_TEMP, &svsk->sk_flags)) {
 		/* push active sockets to end of list */
 		spin_lock_bh(&serv->sv_lock);
-		list_del(&svsk->sk_list);
-		list_add_tail(&svsk->sk_list, &serv->sv_tempsocks);
+		list_move_tail(&svsk->sk_list, &serv->sv_tempsocks);
 		spin_unlock_bh(&serv->sv_lock);
 	}
 

-- 
Lightweight patch manager using pine. If you have any objections, tell me.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-09 15:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-09 15:04 [PATCH][2.5] list_move_tail for sunrpc (1 occ) Lightweight patch manager

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.