Subject: Re: problem with tmpfs and linux emulation?
To: None <email@example.com>
From: Michael van Elst <firstname.lastname@example.org>
Date: 11/13/2005 23:44:38
email@example.com (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."