Prev: [PATCH 33/45] writeback: sync livelock - introduce wbc.for_sync
Next: [PATCH 26/45] block: pass the non-rotational queue flag to backing_dev_info
From: Wu Fengguang on 7 Oct 2009 04:10 CC: Theodore Ts'o <tytso(a)mit.edu> CC: Jan Kara <jack(a)suse.cz> Signed-off-by: Wu Fengguang <fengguang.wu(a)intel.com> --- 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(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |