Browse Source

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>
Linus Torvalds 18 years ago
parent
commit
ffaa82008f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/reiserfs/stree.c

+ 1 - 1
fs/reiserfs/stree.c

@@ -1459,7 +1459,7 @@ static void unmap_buffers(struct page *page, loff_t pos)
 				bh = next;
 				bh = next;
 			} while (bh != head);
 			} while (bh != head);
 			if (PAGE_SIZE == bh->b_size) {
 			if (PAGE_SIZE == bh->b_size) {
-				clear_page_dirty(page);
+				cancel_dirty_page(page, PAGE_CACHE_SIZE);
 			}
 			}
 		}
 		}
 	}
 	}