Christoph Hellwig wrote:

> 
> NFSv2 doesn't support 64 bit file offset, the file fs/nfsd/nfsxdr.c
> contains the follwoing code in nfssvc_encode_entry():
> 
>       if (offset > ~((u32) 0))
>               return -EINVAL;
> 
> [line 402/403 for kernel 2.4.17]
> 
> As (u64)((loff_t)-1) > ~((u32)0) we get -EINVAL..
> 
>       Christoph
> 
> 


This is what I don't understand.  nfssvc_encode_entry is the filldir 
function.  I'm pretty sure JFS never passes a -1 to this function.  It 
does set filp->f_pos = -1 when there are no more entries in the directory.





-- 
David Kleikamp
IBM Linux Technology Center

_______________________________________________
Jfs-discussion mailing list
[EMAIL PROTECTED]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/jfs-discussion

Reply via email to