Re: [PATCH] fs/isofs/inode.c, 2-4GB files rejected on DVDs

From: Chris Wedgwood
Date: Thu Jun 24 2004 - 07:54:34 EST


On Thu, Jun 24, 2004 at 03:44:30AM -0700, Jason Mancini wrote:

> + if (inode->i_size < 0) {
> + inode->i_size &= 0x0FFFFFFFF;
> + }

>From memory (this was a long time ago) this was done because there
were ISO images out there with crap in the upper bits.

If that is that case and they still cause problems, we might want to
be smarter about this and generate mask depending on how large the
entire fs is or use a mount option.


--cw
-
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/