Re: Support for SEEK_HOLE and SEEK_DATA for sparse files on lseek(2)

From: Chris Wedgwood
Date: Sun Jun 18 2006 - 14:34:55 EST


On Sun, Jun 18, 2006 at 04:14:11PM +0100, Al Viro wrote:

> Well... Description makes sense and it isn't hard to implement.
> About the only question is about semantics for directories...

Why not claim it's undefined for now and -EINVAL if someone tries to
use it? We can relax that at a later stage is someone comes up with a
well-thought out alternative after some discussion.

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