Subject: kern/33990: NFS code assumes static file handle size
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 07/13/2006 12:25:00
>Number:         33990
>Category:       kern
>Synopsis:       NFS code assumes static file handle size
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 13 12:25:00 +0000 2006
>Originator:     Martin Husemann
>Release:        NetBSD 3.99.21
System: NetBSD 3.99.21 NetBSD 3.99.21 (MARTINS) #0: Thu Jun 29 18:07:35 CEST 2006 amd64
Architecture: x86_64
Machine: amd64
The NFS server code assumes the local host has a fixed size of filehandles.
This is not true in -current anymore.

We should consider to adapt the code better and get rid of constant NFSX_V3FH
and instead use the real fid-size in use on the exported filesystem.
code inspection