Commit 0b124d82 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] reiserfs dirty memory accounting fix

The ClearPageDirty() in there is wrong - it doesn't adjust the VM's dirty
memory accounting.  The system thinks it's full of dirty memory and stops.
parent 5ad9cb65
...@@ -191,7 +191,7 @@ unmap_buffers(struct page *page, loff_t pos) { ...@@ -191,7 +191,7 @@ 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 ) {
ClearPageDirty(page); clear_page_dirty(page);
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment