Re: [patch] truncate fixes

From: Andrew Morton (
Date: Sun Jan 06 2002 - 22:11:45 EST

Andrea Arcangeli wrote:
> I prefer my fix that simply recalls the ->truncate callback if -ENOSPC
> is returned by prepare_write. vmtruncate seems way overkill,

Actually, vmtruncate will trim the page off the inode as well as the
blocks from the file. I don't think there's necessarily a problem
with having a page wholly outside i_size, but..

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:33 EST