linux 2.6.16.38 w/ vs2.0.3-rc1
[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);
 }
 
 /*