nilfs2: get rid of nilfs_mapping_init()
Subsystems (2)
Andrew Morton
maintainerPATCH 5/16 nilfs2: get rid of nilfs_mapping_init()
From: Ryusuke Konishi <[email protected]>
Subject: nilfs2: get rid of nilfs_mapping_init()
After applying the lockdep warning fixes, nilfs_mapping_init() is no longer used, so delete it.
Signed-off-by Ryusuke Konishi <[email protected]>
Cc David Hildenbrand <[email protected]>
Cc Hao Sun <[email protected]>
Cc Matthew Wilcox <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/nilfs2/page.c | 9 --------- fs/nilfs2/page.h | 1 - 2 files changed, 10 deletions(-)
fs/nilfs2/page.c renamed from fs/nilfs2/page.c~nilfs2-get-rid-of-nilfs_mapping_init +0 -9
@@ -436,15 +436,6 @@ unsigned int nilfs_page_count_clean_buffreturn nc; } -void nilfs_mapping_init (struct address_space *mapping,struct inode *inode) -{ - mapping->host = inode; - mapping->flags =0 ; -mapping_set_gfp_mask (mapping,GFP_NOFS ); - mapping->private_data =NULL ; - mapping->a_ops = &empty_aops; -} -/* * NILFS2 needs clear_page_dirty() in the following two cases: *
fs/nilfs2/page.h renamed from fs/nilfs2/page.h~nilfs2-get-rid-of-nilfs_mapping_init +0 -1
@@ -43,7 +43,6 @@ int nilfs_copy_dirty_pages(struct addresvoid nilfs_copy_back_pages (struct address_space *,struct address_space *);void nilfs_clear_dirty_page (struct page *,bool );void nilfs_clear_dirty_pages (struct address_space *,bool ); -void nilfs_mapping_init (struct address_space *mapping,struct inode *inode);unsigned int nilfs_page_count_clean_buffers (struct page *,unsigned int ,unsigned int ); unsigned long nilfs_find_uncommitted_extent(struct inode *inode,
_