Update of /cvsroot/linuxcompressed/linux/mm
In directory usw-pr-cvs1:/tmp/cvs-serv15026/mm
Modified Files:
filemap.c memory.c
Log Message:
Cleanups
o Most of typedefs removed:
- comp_cache_t -> struct comp_cache_page
- comp_cache_fragment_t -> struct comp_cache_fragment
- stats_summary_t -> struct stats_summary
- stats_page_t -> struct stats_page
- compression_algorithm_t -> struct comp_alg
- comp_data_t -> struct comp_alg_data
Index: filemap.c
===================================================================
RCS file: /cvsroot/linuxcompressed/linux/mm/filemap.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -r1.29 -r1.30
*** filemap.c 13 Jun 2002 20:18:31 -0000 1.29
--- filemap.c 19 Jun 2002 12:18:43 -0000 1.30
***************
*** 1031,1035 ****
if (!page) {
if (!cached_page) {
! comp_cache_fragment_t * fragment;
if (find_comp_page(mapping, offset, &fragment))
goto out;
--- 1031,1035 ----
if (!page) {
if (!cached_page) {
! struct comp_cache_fragment * fragment;
if (find_comp_page(mapping, offset, &fragment))
goto out;
***************
*** 2091,2095 ****
in_comp_cache = 0;
{
! comp_cache_fragment_t * fragment;
if (!find_comp_page(mapping, pgoff, &fragment))
in_comp_cache = 1;
--- 2091,2095 ----
in_comp_cache = 0;
{
! struct comp_cache_fragment * fragment;
if (!find_comp_page(mapping, pgoff, &fragment))
in_comp_cache = 1;
Index: memory.c
===================================================================
RCS file: /cvsroot/linuxcompressed/linux/mm/memory.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** memory.c 11 Jun 2002 13:20:49 -0000 1.30
--- memory.c 19 Jun 2002 12:18:43 -0000 1.31
***************
*** 1133,1137 ****
page = lookup_swap_cache(entry);
if (!page) {
! comp_cache_fragment_t * fragment;
/* perform readahead only if the page is on disk */
if (find_comp_page(&swapper_space, entry.val, &fragment)) {
--- 1133,1137 ----
page = lookup_swap_cache(entry);
if (!page) {
! struct comp_cache_fragment * fragment;
/* perform readahead only if the page is on disk */
if (find_comp_page(&swapper_space, entry.val, &fragment)) {
|