[lc-checkins] CVS: linux/mm swap_state.c,1.32,1.33
Status: Beta
Brought to you by:
nitin_sf
From: Rodrigo S. de C. <rc...@us...> - 2002-07-01 17:50:43
|
Update of /cvsroot/linuxcompressed/linux/mm In directory usw-pr-cvs1:/tmp/cvs-serv30746/mm Modified Files: swap_state.c Log Message: Bug fix o Compile error fix. Index: swap_state.c =================================================================== RCS file: /cvsroot/linuxcompressed/linux/mm/swap_state.c,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -r1.32 -r1.33 *** swap_state.c 1 Jul 2002 17:37:29 -0000 1.32 --- swap_state.c 1 Jul 2002 17:50:37 -0000 1.33 *************** *** 221,228 **** if (readahead) { ! struct page * tmp_page = find_page_nolock(&swapper_space, entry.val); if (tmp_page) break; ! if (in_comp_cache(mapping, offset)) return new_page; } --- 221,228 ---- if (readahead) { ! struct page * tmp_page = find_get_page(&swapper_space, entry.val); if (tmp_page) break; ! if (in_comp_cache(&swapper_space, entry.val)) return new_page; } |