Skip to content

Commit

Permalink
ext4: remove unused parameter wbc from __ext4_journalled_writepage()
Browse files Browse the repository at this point in the history
CC: Jan Kara <jack@suse.cz> 
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
  • Loading branch information
Wu Fengguang authored and Theodore Ts'o committed Nov 24, 2009
1 parent b4d7241 commit 3f0ca30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/ext4/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -2558,7 +2558,6 @@ static int bput_one(handle_t *handle, struct buffer_head *bh)
}

static int __ext4_journalled_writepage(struct page *page,
struct writeback_control *wbc,
unsigned int len)
{
struct address_space *mapping = page->mapping;
Expand Down Expand Up @@ -2716,7 +2715,7 @@ static int ext4_writepage(struct page *page,
* doesn't seem much point in redirtying the page here.
*/
ClearPageChecked(page);
return __ext4_journalled_writepage(page, wbc, len);
return __ext4_journalled_writepage(page, len);
}

if (test_opt(inode->i_sb, NOBH) && ext4_should_writeback_data(inode))
Expand Down

0 comments on commit 3f0ca30

Please sign in to comment.