From d672c382411ffafbf2b8ed608dfdb8bd8e67307d Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 11 Apr 2004 23:12:13 -0700 Subject: [PATCH] stop using address_space.clean_pages Remove remaining references to address_space.clean_pages. --- include/linux/fs.h | 1 - include/linux/pagemap.h | 1 - 2 files changed, 2 deletions(-) (limited to 'include') diff --git a/include/linux/fs.h b/include/linux/fs.h index 5194a645baf2..dc8c46fb4b69 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -323,7 +323,6 @@ struct address_space { struct inode *host; /* owner: inode, block_device */ struct radix_tree_root page_tree; /* radix tree of all pages */ spinlock_t tree_lock; /* and spinlock protecting it */ - struct list_head clean_pages; /* list of clean pages */ unsigned long nrpages; /* number of total pages */ struct address_space_operations *a_ops; /* methods */ struct list_head i_mmap; /* list of private mappings */ diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index 70d07dbfcd02..5585675ab842 100644 --- a/include/linux/pagemap.h +++ b/include/linux/pagemap.h @@ -142,7 +142,6 @@ static inline unsigned long get_page_cache_size(void) static inline void ___add_to_page_cache(struct page *page, struct address_space *mapping, unsigned long index) { - list_add(&page->list, &mapping->clean_pages); page->mapping = mapping; page->index = index; -- cgit v1.2.3