kib 7b210bf144 Release the v_writecount reference on the vnode in case of error,
before the vnode is vput() in vm_mmap_vnode().  Error return means
that there is no use reference on the vnode from the vm object
reference, and failing to restore v_writecount breaks the invariant
that v_writecount is less or equal to the usecount.

The situation observed when nfs client returns ESTALE for
VOP_GETATTR() after the open.

In collaboration with:	pho
MFC after:	1 week
2013-03-28 06:39:27 +00:00
..
2013-03-17 23:53:06 +00:00
2013-03-09 03:19:53 +00:00
MFC
2011-11-08 11:08:40 +00:00
2013-03-09 03:19:53 +00:00
MFC
2013-02-26 23:52:23 +00:00
MFC
2013-02-26 23:52:23 +00:00
MFC
2013-02-26 23:52:23 +00:00
2013-03-09 03:19:53 +00:00
MFC
2013-02-26 23:52:23 +00:00
2013-03-17 23:53:06 +00:00