[lc-checkins] CVS: linux/fs buffer.c,1.8,1.9
Status: Beta
Brought to you by:
nitin_sf
From: Rodrigo S. de C. <rc...@us...> - 2001-12-12 20:45:49
|
Update of /cvsroot/linuxcompressed/linux/fs In directory usw-pr-cvs1:/tmp/cvs-serv17791/fs Modified Files: buffer.c Log Message: - 0.20pre2 version updated from 2.4.10 to 2.4.16. - Code was rewritten in swapfile.c to work with the new swap file functions (swap_free, swap_duplicate, swap_info_get, swap_info_put, etc). Index: buffer.c =================================================================== RCS file: /cvsroot/linuxcompressed/linux/fs/buffer.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** buffer.c 2001/09/29 20:30:14 1.8 --- buffer.c 2001/12/12 20:45:46 1.9 *************** *** 46,49 **** --- 46,50 ---- #include <linux/iobuf.h> #include <linux/highmem.h> + #include <linux/module.h> #include <linux/completion.h> *************** *** 53,70 **** #include <asm/mmu_context.h> [...1362 lines suppressed...] *** 2629,2632 **** --- 2557,2561 ---- return 0; } + EXPORT_SYMBOL(try_to_free_buffers); /* ================== Debugging =================== */ *************** *** 2725,2734 **** for(i = 0; i < nr_hash; i++) hash_table[i] = NULL; - - /* Setup free lists. */ - for(i = 0; i < NR_SIZES; i++) { - free_list[i].list = NULL; - free_list[i].lock = SPIN_LOCK_UNLOCKED; - } /* Setup lru lists. */ --- 2654,2657 ---- |