[lc-checkins] CVS: linux/mm/comp_cache adaptivity.c,1.31,1.32
Status: Beta
Brought to you by:
nitin_sf
From: Rodrigo S. de C. <rc...@us...> - 2002-07-01 18:44:43
|
Update of /cvsroot/linuxcompressed/linux/mm/comp_cache In directory usw-pr-cvs1:/tmp/cvs-serv17101/mm/comp_cache Modified Files: adaptivity.c Log Message: Bug fix o Fixed bug that wouldn't allow the code to be compiled without compressed cache enabled. Index: adaptivity.c =================================================================== RCS file: /cvsroot/linuxcompressed/linux/mm/comp_cache/adaptivity.c,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -r1.31 -r1.32 *** adaptivity.c 1 Jul 2002 18:16:59 -0000 1.31 --- adaptivity.c 1 Jul 2002 18:44:40 -0000 1.32 *************** *** 2,6 **** * linux/mm/comp_cache/adaptivity.c * ! * Time-stamp: <2002-07-01 14:54:23 rcastro> * * Linux Virtual Memory Compressed Cache --- 2,6 ---- * linux/mm/comp_cache/adaptivity.c * ! * Time-stamp: <2002-07-01 15:19:18 rcastro> * * Linux Virtual Memory Compressed Cache *************** *** 621,630 **** int ! grow_comp_cache(int nr_pages) { struct comp_cache_page * comp_page; struct page * page; ! while (comp_cache_needs_to_grow() && nr_pages--) { page = alloc_page(GFP_ATOMIC); --- 621,630 ---- int ! grow_comp_cache(int nrpages) { struct comp_cache_page * comp_page; struct page * page; ! while (comp_cache_needs_to_grow() && nrpages--) { page = alloc_page(GFP_ATOMIC); |