aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/linux-2.6/xfs_aops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_aops.c b/fs/xfs/linux-2.6/xfs_aops.c
index b56eb754e2d2..7b54461695e2 100644
--- a/fs/xfs/linux-2.6/xfs_aops.c
+++ b/fs/xfs/linux-2.6/xfs_aops.c
@@ -341,9 +341,9 @@ xfs_start_page_writeback(
341{ 341{
342 ASSERT(PageLocked(page)); 342 ASSERT(PageLocked(page));
343 ASSERT(!PageWriteback(page)); 343 ASSERT(!PageWriteback(page));
344 set_page_writeback(page);
345 if (clear_dirty) 344 if (clear_dirty)
346 clear_page_dirty(page); 345 clear_page_dirty_for_io(page);
346 set_page_writeback(page);
347 unlock_page(page); 347 unlock_page(page);
348 if (!buffers) { 348 if (!buffers) {
349 end_page_writeback(page); 349 end_page_writeback(page);