[PATCH] knfsd: nfsd4: remove superfluous grace period checks
[deliverable/linux.git] / fs / nfsd / nfscache.c
index d852ebb538e397b83e90aa504a105dcbc50ba98f..fdf7cf3dfadcf0f7775f4aa54cd4acf43e7ffed1 100644 (file)
@@ -103,8 +103,7 @@ nfsd_cache_shutdown(void)
 static void
 lru_put_end(struct svc_cacherep *rp)
 {
-       list_del(&rp->c_lru);
-       list_add_tail(&rp->c_lru, &lru_head);
+       list_move_tail(&rp->c_lru, &lru_head);
 }
 
 /*
This page took 0.026258 seconds and 5 git commands to generate.