[PATCH 03/45] ext4: remove unused parameter wbc from __ext4_journalled_writepage()

From: Wu Fengguang
Date: Wed Oct 07 2009 - 04:00:56 EST


CC: Theodore Ts'o <tytso@xxxxxxx>
CC: Jan Kara <jack@xxxxxxx>
Signed-off-by: Wu Fengguang <fengguang.wu@xxxxxxxxx>
---
fs/ext4/inode.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

--- linux.orig/fs/ext4/inode.c 2009-10-06 23:31:41.000000000 +0800
+++ linux/fs/ext4/inode.c 2009-10-06 23:31:54.000000000 +0800
@@ -2599,7 +2599,6 @@ static int bput_one(handle_t *handle, st
}

static int __ext4_journalled_writepage(struct page *page,
- struct writeback_control *wbc,
unsigned int len)
{
struct address_space *mapping = page->mapping;
@@ -2757,7 +2756,7 @@ static int ext4_writepage(struct page *p
* 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))


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/