Commit d755a07e authored by Milton D. Miller II's avatar Milton D. Miller II Committed by Linus Torvalds

[PATCH] severe ext3 filesystem corruption warning!

Fix silly truncate status update
parent 9eb17ed2
......@@ -287,11 +287,11 @@ void truncate_inode_pages(struct address_space * mapping, loff_t lstart)
clean_list_pages(mapping, &mapping->io_pages, start);
clean_list_pages(mapping, &mapping->dirty_pages, start);
do {
unlocked |= truncate_list_pages(mapping,
unlocked = truncate_list_pages(mapping,
&mapping->io_pages, start, &partial);
unlocked |= truncate_list_pages(mapping,
&mapping->dirty_pages, start, &partial);
unlocked = truncate_list_pages(mapping,
unlocked |= truncate_list_pages(mapping,
&mapping->clean_pages, start, &partial);
unlocked |= truncate_list_pages(mapping,
&mapping->locked_pages, start, &partial);
......
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