kernel - Fix NFS panic
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 16 Sep 2010 17:03:30 +0000 (10:03 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 16 Sep 2010 17:03:30 +0000 (10:03 -0700)
commit104db2fbb89ba01fba8759aee3aa0c09eb13f9bf
tree1946c17fdebcb5d86da5e44c73117752a188d0e0
parent08764bdc23c6c9d799522d6070e82f9e0810e018
kernel - Fix NFS panic

* nfs_write() was not wrapped with a token, leading to races.

* Add some queueing assertions while we are here.

Reported-by: Thomas Nikolajsen <thomas.nikolajsen@mail.dk>
sys/vfs/nfs/nfs_bio.c
sys/vfs/nfs/nfs_iod.c
sys/vfs/nfs/nfs_socket.c