tmpfs - Fix tmpfs_fid, fix NFS exports
commit513b5023fec57c775a1291a53d4412a2111e32f9
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 12 May 2018 03:48:39 +0000 (11 20:48 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 12 May 2018 23:13:25 +0000 (12 16:13 -0700)
tree69e5195c1e2e312928c50b0c8ba25c0361e3ef98
parent4408d5485757eef6e44859025e931d1c1b6746c4
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