Update of /cvsroot/linuxcompressed/linux/include/linux
In directory usw-pr-cvs1:/tmp/cvs-serv25515/include/linux
Modified Files:
comp_cache.h
Log Message:
Bug fix
o Another fix to the vswap failed allocation bug fix. It would BUG() if
there weren't any failed allocation. Also changed last_vswap_allocated from
unsigned int to int to handle the case it can't allocate any vswap entry.
Index: comp_cache.h
===================================================================
RCS file: /cvsroot/linuxcompressed/linux/include/linux/comp_cache.h,v
retrieving revision 1.80
retrieving revision 1.81
diff -C2 -r1.80 -r1.81
*** comp_cache.h 19 Jun 2002 19:32:23 -0000 1.80
--- comp_cache.h 20 Jun 2002 12:33:57 -0000 1.81
***************
*** 2,6 ****
* linux/mm/comp_cache.h
*
! * Time-stamp: <2002-06-19 15:49:17 rcastro>
*
* Linux Virtual Memory Compressed Cache
--- 2,6 ----
* linux/mm/comp_cache.h
*
! * Time-stamp: <2002-06-20 08:44:35 rcastro>
*
* Linux Virtual Memory Compressed Cache
***************
*** 402,406 ****
extern unsigned long vswap_num_swap_cache;
extern unsigned int vswap_last_used;
! extern unsigned int last_vswap_allocated;
extern unsigned short * last_page_size;
--- 402,406 ----
extern unsigned long vswap_num_swap_cache;
extern unsigned int vswap_last_used;
! extern int last_vswap_allocated;
extern unsigned short * last_page_size;
|