projects/linux·commit ffaa8200

Fix reiserfs after "test_clear_page_dirty()" removal

ffaa8200 · Linus Torvalds <[email protected]> · 2006-12-23 09:32:45 -08:00

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 <[email protected]>
Acked-by: Len Brown <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
ffaa82008f1aad52a6d3979f49d2a76c2928b60f
Parents
8368e328

Changes

1 files changed · +1 −1

FileStatusAddDelContent
fs/reiserfs/stree.cmodified+1−1View file

fs/reiserfs/stree.c

View file
diff --git a/fs/reiserfs/stree.c b/fs/reiserfs/stree.c
index 47e7027..afb21ea 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);
}
}
}