Re: [PATCH] reiserfs: Truncate blocks not used by a write (v2)

From: Andrew Morton
Date: Wed Sep 16 2009 - 17:49:07 EST


On Wed, 16 Sep 2009 19:25:12 +0200
Jan Kara <jack@xxxxxxx> wrote:

> It can happen that write does not use all the blocks allocated in write_begin
> either because of some filesystem error (like ENOSPC) or because page with
> data to write has been removed from memory. We truncate these blocks so that
> we don't have dangling blocks beyond i_size.

This clashes a bit with the kill-the-bkl/reiserfs stuff in linux-next.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/