Skip to content

Commit

Permalink
Fix reiserfs after "test_clear_page_dirty()" removal
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Torvalds committed Dec 23, 2006
1 parent 8368e32 commit ffaa820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/reiserfs/stree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit ffaa820

Please sign in to comment.