[lc-checkins] CVS: linux/mm/comp_cache swapout.c,1.67,1.68
Status: Beta
Brought to you by:
nitin_sf
From: Rodrigo S. de C. <rc...@us...> - 2002-07-31 20:49:05
|
Update of /cvsroot/linuxcompressed/linux/mm/comp_cache In directory usw-pr-cvs1:/tmp/cvs-serv28826/mm/comp_cache Modified Files: swapout.c Log Message: Bug fixes: o Compilation error in filemap.c o Clear dirty bit when a swap buffer page fails to be written. Otherwise, once a swap buffer page fails to be written, never again it would free its fragment. Index: swapout.c =================================================================== RCS file: /cvsroot/linuxcompressed/linux/mm/comp_cache/swapout.c,v retrieving revision 1.67 retrieving revision 1.68 diff -C2 -r1.67 -r1.68 *** swapout.c 31 Jul 2002 12:31:05 -0000 1.67 --- swapout.c 31 Jul 2002 20:48:59 -0000 1.68 *************** *** 2,6 **** * /mm/comp_cache/swapout.c * ! * Time-stamp: <2002-07-29 17:18:46 rcastro> * * Linux Virtual Memory Compressed Cache --- 2,6 ---- * /mm/comp_cache/swapout.c * ! * Time-stamp: <2002-07-31 16:07:44 rcastro> * * Linux Virtual Memory Compressed Cache *************** *** 79,82 **** --- 79,83 ---- CompFragmentSetDirty(fragment); } + ClearPageDirty(buffer_page); goto add_to_free; } |