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-21 23:02:19 +00:00
2013-03-27 23:07:43 +00:00
2013-03-22 20:44:16 +00:00
2013-03-26 14:08:14 +00:00
MFC
2013-03-09 18:40:37 +00:00
MFC
2013-03-02 14:48:41 +00:00
MFC
2013-03-08 00:03:07 +00:00
MFC
2013-03-02 14:48:41 +00:00
2013-02-21 12:52:18 +00:00
MFC
2013-03-08 00:03:07 +00:00
MFC
2013-02-21 21:59:35 +00:00
2013-02-28 13:46:03 +00:00
MFC
2013-03-13 01:05:42 +00:00