Re: tree corrupted on disk quota full
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Jan 11, 2007, 20:03 UTC
- Message-ID
- <Pine.LNX.4.64.0701111202250.3594@woody.osdl.org>
- In-Reply-To
- <Pine.LNX.4.64.0701111109070.3594@woody.osdl.org>
On Thu, 11 Jan 2007, Linus Torvalds wrote:
> > I would suggest perhaps a patch like this..
Except you need to add a semicolon after the return:
> + if (!written) {
> + errno = ENOSPC;
> + return -1otherwise it looks fine. But I obviously didn't even compile-test the patch I sent out, so caveat emptor.
Linus