summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.osdl.org>2006-12-23 09:32:45 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-23 09:32:45 -0800
commitffaa82008f1aad52a6d3979f49d2a76c2928b60f (patch)
tree82ababcc23d02c48d59a52ca9f5c75c23bc7f108 /fs/reiserfs
parent8368e328dfe1c534957051333a87b3210a12743b (diff)
downloadlinux-ffaa82008f1aad52a6d3979f49d2a76c2928b60f.tar.gz
linux-ffaa82008f1aad52a6d3979f49d2a76c2928b60f.tar.bz2
linux-ffaa82008f1aad52a6d3979f49d2a76c2928b60f.zip
Fix reiserfs after "test_clear_page_dirty()" removal
Thanks to Len Brown for testing this fix, since while they have in the past, none of my machines run reiserfs at the moment. Cc: Vladimir V. Saveliev <vs@namesys.com> Acked-by: Len Brown <lenb@kernel.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/reiserfs')
-rw-r--r--fs/reiserfs/stree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/stree.c b/fs/reiserfs/stree.c
index 47e7027ea39f..afb21ea45302 100644
--- a/fs/reiserfs/stree.c
+++ b/fs/reiserfs/stree.c
@@ -1459,7 +1459,7 @@ static void unmap_buffers(struct page *page, loff_t pos)
bh = next;
} while (bh != head);
if (PAGE_SIZE == bh->b_size) {
- clear_page_dirty(page);
+ cancel_dirty_page(page, PAGE_CACHE_SIZE);
}
}
}