Update of /cvsroot/linuxcompressed/linux/mm/comp_cache
In directory usw-pr-cvs1:/tmp/cvs-serv26639/mm/comp_cache
Modified Files:
swapin.c
Log Message:
Bug fix
o Remove bogus BUG() in flush_comp_cache()
Index: swapin.c
===================================================================
RCS file: /cvsroot/linuxcompressed/linux/mm/comp_cache/swapin.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -r1.51 -r1.52
*** swapin.c 1 Aug 2002 14:52:25 -0000 1.51
--- swapin.c 1 Aug 2002 15:35:46 -0000 1.52
***************
*** 2,6 ****
* linux/mm/comp_cache/swapin.c
*
! * Time-stamp: <2002-08-01 10:06:03 rcastro>
*
* Linux Virtual Memory Compressed Cache
--- 2,6 ----
* linux/mm/comp_cache/swapin.c
*
! * Time-stamp: <2002-08-01 12:32:01 rcastro>
*
* Linux Virtual Memory Compressed Cache
***************
*** 58,63 ****
list_add(&fragment->mapping_list, &fragment->mapping->clean_comp_pages);
! if (PageDirty(page))
! BUG();
__set_page_dirty(page);
}
--- 58,62 ----
list_add(&fragment->mapping_list, &fragment->mapping->clean_comp_pages);
! /* it may be already dirty if called from set_page_dirty() */
__set_page_dirty(page);
}
|