

Remove remaining references to address_space.clean_pages.


---

 25-akpm/fs/inode.c              |    1 -
 25-akpm/include/linux/fs.h      |    1 -
 25-akpm/include/linux/pagemap.h |    1 -
 25-akpm/mm/swap_state.c         |    1 -
 fs/bio.c                        |    0 
 mm/filemap.c                    |    0 
 mm/page_alloc.c                 |    0 
 mm/truncate.c                   |    0 
 8 files changed, 4 deletions(-)

diff -puN fs/bio.c~stop-using-clean-pages fs/bio.c
diff -puN fs/inode.c~stop-using-clean-pages fs/inode.c
--- 25/fs/inode.c~stop-using-clean-pages	2004-04-03 03:00:13.484181648 -0800
+++ 25-akpm/fs/inode.c	2004-04-03 03:00:13.496179824 -0800
@@ -178,7 +178,6 @@ void inode_init_once(struct inode *inode
 {
 	memset(inode, 0, sizeof(*inode));
 	INIT_HLIST_NODE(&inode->i_hash);
-	INIT_LIST_HEAD(&inode->i_data.clean_pages);
 	INIT_LIST_HEAD(&inode->i_dentry);
 	INIT_LIST_HEAD(&inode->i_devices);
 	sema_init(&inode->i_sem, 1);
diff -puN mm/swap_state.c~stop-using-clean-pages mm/swap_state.c
--- 25/mm/swap_state.c~stop-using-clean-pages	2004-04-03 03:00:13.485181496 -0800
+++ 25-akpm/mm/swap_state.c	2004-04-03 03:00:13.496179824 -0800
@@ -26,7 +26,6 @@ extern struct address_space_operations s
 struct address_space swapper_space = {
 	.page_tree	= RADIX_TREE_INIT(GFP_ATOMIC),
 	.tree_lock	= SPIN_LOCK_UNLOCKED,
-	.clean_pages	= LIST_HEAD_INIT(swapper_space.clean_pages),
 	.a_ops		= &swap_aops,
 	.backing_dev_info = &swap_backing_dev_info,
 	.i_mmap		= LIST_HEAD_INIT(swapper_space.i_mmap),
diff -puN mm/truncate.c~stop-using-clean-pages mm/truncate.c
diff -puN include/linux/fs.h~stop-using-clean-pages include/linux/fs.h
--- 25/include/linux/fs.h~stop-using-clean-pages	2004-04-03 03:00:13.488181040 -0800
+++ 25-akpm/include/linux/fs.h	2004-04-03 03:00:13.498179520 -0800
@@ -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 -puN include/linux/pagemap.h~stop-using-clean-pages include/linux/pagemap.h
--- 25/include/linux/pagemap.h~stop-using-clean-pages	2004-04-03 03:00:13.489180888 -0800
+++ 25-akpm/include/linux/pagemap.h	2004-04-03 03:00:13.498179520 -0800
@@ -142,7 +142,6 @@ static inline unsigned long get_page_cac
 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;
 
diff -puN mm/filemap.c~stop-using-clean-pages mm/filemap.c
diff -puN mm/page_alloc.c~stop-using-clean-pages mm/page_alloc.c

_
