kernel - Fix NFS sillyrename code
commit85e11dad62e1ede6b8d1ffc5caead7abbb7d6ff5
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 22 Jan 2017 16:36:23 +0000 (22 08:36 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 22 Jan 2017 16:36:23 +0000 (22 08:36 -0800)
tree87261be298ab917365a73f76c17bc888b967f684
parent6be048a1f7aa807c38f3e8307d863b38ab5f74b8
kernel - Fix NFS sillyrename code

* Due to the delayed vnode reclamation changes done several years ago
  the NFS client code was not properly removing silly-renamed files
  on last-close (these are files which NFS renames to .nfs* when
  remove()'d while still open()).

* Fixed by flagging finalization on last-close if a sillyrename occurs.
sys/vfs/nfs/nfs_vnops.c