[lc-checkins] CVS: linux/mm/comp_cache main.c,1.52,1.53
Status: Beta
Brought to you by:
nitin_sf
From: Rodrigo S. de C. <rc...@us...> - 2002-07-15 11:24:32
|
Update of /cvsroot/linuxcompressed/linux/mm/comp_cache In directory usw-pr-cvs1:/tmp/cvs-serv12760/mm/comp_cache Modified Files: main.c Log Message: Bug fix o Compilation error when Page Cache support is enabled and Resize Compressed Cache on demand is disabled. Index: main.c =================================================================== RCS file: /cvsroot/linuxcompressed/linux/mm/comp_cache/main.c,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -r1.52 -r1.53 *** main.c 11 Jul 2002 19:08:11 -0000 1.52 --- main.c 15 Jul 2002 11:24:27 -0000 1.53 *************** *** 2,6 **** * linux/mm/comp_cache/main.c * ! * Time-stamp: <2002-07-11 09:32:13 rcastro> * * Linux Virtual Memory Compressed Cache --- 2,6 ---- * linux/mm/comp_cache/main.c * ! * Time-stamp: <2002-07-15 08:20:26 rcastro> * * Linux Virtual Memory Compressed Cache *************** *** 216,220 **** struct comp_cache_fragment * fragment; struct comp_cache_page * comp_page; ! unsigned short comp_size, dirty; struct page * old_page; int ret = 0; --- 216,220 ---- struct comp_cache_fragment * fragment; struct comp_cache_page * comp_page; ! unsigned short comp_size; struct page * old_page; int ret = 0; *************** *** 247,253 **** * page with a page reserved for compressed cache use */ comp_size = PAGE_SIZE; ! dirty = 0; ! ! comp_page = get_comp_cache_page(*page, comp_size, &fragment, dirty, 0, gfp_mask, priority); if (!comp_page) --- 247,251 ---- * page with a page reserved for compressed cache use */ comp_size = PAGE_SIZE; ! comp_page = get_comp_cache_page(*page, comp_size, &fragment, 0, gfp_mask, priority); if (!comp_page) |