ext4: remove unused parameter wbc from __ext4_journalled_writepage()
authorWu Fengguang <fengguang.wu@intel.com>
Tue, 24 Nov 2009 16:15:44 +0000 (11:15 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 24 Nov 2009 16:15:44 +0000 (11:15 -0500)
CC: Jan Kara <jack@suse.cz>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c

index 3b28e1fbfc90ba75ec3b5c36bfba6c12684f912e..d3f99e9e8a313333c04a3b6c33437573fdcf2e54 100644 (file)
@@ -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;
@@ -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))