Subject: Re: problem with tmpfs and linux emulation?
To: None <firstname.lastname@example.org>
From: Michael van Elst <email@example.com>
Date: 11/13/2005 23:44:38
firstname.lastname@example.org (Pavel Cahyna) writes:
>On Sun, Nov 13, 2005 at 09:45:14PM +0100, Michael van Elst wrote:
>> When d_off is not a valid offset, the llseek fails and the next
>> iteration may or may not read more directory entries.
>How can d_off be invalid? It was returned by the kernel before, so it
>should be valid, no?
With tmpfs (and NFS) d_off is an opaque cookie and does
not resemble an offset into the "directory file".
Michael van Elst
"A potential Snark may lurk in every tree."