tmpfs - Fix tmpfs_fid, fix NFS exports v5.2.1
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 12 May 2018 03:48:39 +0000 (20:48 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 13 May 2018 17:02:02 +0000 (10:02 -0700)
commitb40be1142a2cdbfe1a08a350e5f8e5c4b0b7939a
treed08e058afd6af372182755c941bb54668a54e4b7
parentbfb56f1c137412336c759396ecb43cb7e942952f
tmpfs - Fix tmpfs_fid, fix NFS exports

* Fix the tmpfs_fid structure, the 64-bit elements made it incompatible
  with the system fid mapping.

  This fixes NFS exports of a tmpfs filesystem.

* Fix tmpfs_fhtovp, the inode number can exceed tmp->tm_nodes_max,
  do not error-out in that case.
sys/vfs/tmpfs/tmpfs.h
sys/vfs/tmpfs/tmpfs_vfsops.c