NFS - Fix crash on client on write attempt to ro fs. Fix ro-test on server.
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 6 Aug 2009 02:58:53 +0000 (19:58 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 6 Aug 2009 02:58:53 +0000 (19:58 -0700)
commitd64fd6d399ef2cfca2183b66020ad537f8ed10b5
tree9448156aa4547e9d2e33e0140f0851614f935917
parent6507240b2fcfebaacc0f92f997dad76922e1d8c0
NFS - Fix crash on client on write attempt to ro fs.  Fix ro-test on server.

* A NFS client attempting to create a file would crash on a read-only NFS
  mount instead of returning EROFS.  The bug was introduced with the nfsm
  commit.

* A NFS server was improperly allowing certain modifying operations through.
sys/vfs/nfs/nfs_subs.c
sys/vfs/nfs/nfs_vnops.c