Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / fs / nfsd / nfscache.c
index fdf7cf3..d852ebb 100644 (file)
@@ -103,7 +103,8 @@ nfsd_cache_shutdown(void)
 static void
 lru_put_end(struct svc_cacherep *rp)
 {
-       list_move_tail(&rp->c_lru, &lru_head);
+       list_del(&rp->c_lru);
+       list_add_tail(&rp->c_lru, &lru_head);
 }
 
 /*