Subject: Heads up: VFS_MAXFIDSIZ is gone
To: None <>
From: Martin Husemann <>
List: current-users
Date: 07/13/2006 14:20:07
I have just commited a change that does

 - fix alignment problems on many filesystems with the vptofh()/fhtovp()
   VOPs (tmpfs on sparc is where this all started, cd9660 with -Os
   compiled install kernels is another example)
 - changes the getfh(2) syscall to aquire a new argument (the available
   size for the filehandle)
 - got rid of the global, maximum file-id size (VFS_MAXFIDSIZ)

This change was pretty intrusive, especially inside the NFS code. If anything
broke, please send-pr.

If you encounter any third-party software that uses getfh(2) and now needs
to be changed: an example how to properly use the syscall can be found
in src/regress/sys/fs/tmpfs/h_tools.c.