aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2009-11-24 11:15:44 -0500
committerTheodore Ts'o <tytso@mit.edu>2009-11-24 11:15:44 -0500
commit3f0ca309858ee186435c608ee9eaafd1c8dcb53a (patch)
tree747897214d2fda0ba36c36dc7be6352dacb3f5a0
parentb4d7241596ffb6398ac5535ae8cf80d845b0c254 (diff)
ext4: remove unused parameter wbc from __ext4_journalled_writepage()
CC: Jan Kara <jack@suse.cz> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--fs/ext4/inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 3b28e1fbfc90..d3f99e9e8a31 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -2558,7 +2558,6 @@ static int bput_one(handle_t *handle, struct buffer_head *bh)
2558} 2558}
2559 2559
2560static int __ext4_journalled_writepage(struct page *page, 2560static int __ext4_journalled_writepage(struct page *page,
2561 struct writeback_control *wbc,
2562 unsigned int len) 2561 unsigned int len)
2563{ 2562{
2564 struct address_space *mapping = page->mapping; 2563 struct address_space *mapping = page->mapping;
@@ -2716,7 +2715,7 @@ static int ext4_writepage(struct page *page,
2716 * doesn't seem much point in redirtying the page here. 2715 * doesn't seem much point in redirtying the page here.
2717 */ 2716 */
2718 ClearPageChecked(page); 2717 ClearPageChecked(page);
2719 return __ext4_journalled_writepage(page, wbc, len); 2718 return __ext4_journalled_writepage(page, len);
2720 } 2719 }
2721 2720
2722 if (test_opt(inode->i_sb, NOBH) && ext4_should_writeback_data(inode)) 2721 if (test_opt(inode->i_sb, NOBH) && ext4_should_writeback_data(inode))