[PATCH] truncate: dirty memory accounting fix