[PATCH] fs: nobh_truncate_page() fix
authorDave Kleikamp <shaggy@linux.vnet.ibm.com>
Tue, 6 Mar 2007 09:42:12 +0000 (01:42 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 6 Mar 2007 17:30:25 +0000 (09:30 -0800)
commit57bf63d69cb6b7064e6fec5e83da4e1918168282
tree506c623d4f756afb91af4ca150f6759d229d3b9f
parent90675a27fa3eb0e97f1d040b183cceb44316e669
[PATCH] fs: nobh_truncate_page() fix

This fixes a regression caused by 22c8ca78f20724676b6006232bf06cc3e9299539.

nobh_prepare_write() no longer marks the page uptodate, so
nobh_truncate_page() needs to do it.

Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/buffer.c