kernel NFS - Fix another deadlock in the readdirplus code
commit94f2e6f24f393d773800d0f9c448969bc5b16cf0
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 11 Feb 2010 20:44:21 +0000 (11 12:44 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 11 Feb 2010 20:44:21 +0000 (11 12:44 -0800)
tree03f592e91d4a62e47178cbc16b9b36366da42ddb
parent1b7df30abd5674475a59bf1c84b42774101bc3a6
kernel NFS - Fix another deadlock in the readdirplus code

* Add vn_islocked_unlock() and vn_islocked_relock() to help NFS
  temporarily unlock a possibly-locked directory vnode when
  trying to instantiate readdirplus children under that directory.

* Fixes a deadlock in NFS.
sys/kern/vfs_vnops.c
sys/sys/vnode.h
sys/vfs/nfs/nfs_vnops.c