

---

 linux-2.6.18-rc5-andros/net/sunrpc/auth.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff -puN net/sunrpc/auth.c~rpc-common-credcache-fix net/sunrpc/auth.c
--- linux-2.6.18-rc5/net/sunrpc/auth.c~rpc-common-credcache-fix	2006-10-20 15:45:11.000000000 -0400
+++ linux-2.6.18-rc5-andros/net/sunrpc/auth.c	2006-10-20 15:45:31.000000000 -0400
@@ -218,7 +218,6 @@ rpcauth_free_ccache(struct kref *ref)
 	int		i;
 	LIST_HEAD(aufree);
 
-	INIT_LIST_HEAD(&aufree);
 	spin_lock(&rpc_credcache_lock);
 	list_for_each_entry_safe(auth, n, &cache->auth_list, au_list) {
 		list_move(&auth->au_list, &aufree);
@@ -236,7 +235,7 @@ rpcauth_free_ccache(struct kref *ref)
 	rpcauth_destroy_credlist(&free);
 	while(!list_empty(&aufree)) {
 		auth = list_entry(aufree.next, struct rpc_auth, au_list);
-		list_del_init(&auth->au_list);
+		list_del(&auth->au_list);
 		rpcauth_destroy(auth);
 	}
 	if (info)
_
