diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-04-11 23:12:13 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-04-11 23:12:13 -0700 |
| commit | d672c382411ffafbf2b8ed608dfdb8bd8e67307d (patch) | |
| tree | fa5cd97a144da9cfd9404ecf76285b46827e285b | |
| parent | a15133091ee83b0a97913cd48d6131188af093e1 (diff) | |
[PATCH] stop using address_space.clean_pages
Remove remaining references to address_space.clean_pages.
| -rw-r--r-- | fs/inode.c | 1 | ||||
| -rw-r--r-- | include/linux/fs.h | 1 | ||||
| -rw-r--r-- | include/linux/pagemap.h | 1 | ||||
| -rw-r--r-- | mm/swap_state.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/fs/inode.c b/fs/inode.c index 0c122d4a6529..282d86aed622 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -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 --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; diff --git a/mm/swap_state.c b/mm/swap_state.c index 8e3c3ca4ae4f..22946f0d9ecf 100644 --- a/mm/swap_state.c +++ b/mm/swap_state.c @@ -26,7 +26,6 @@ extern struct address_space_operations swap_aops; 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), |
