diff options
author | kib <kib@FreeBSD.org> | 2013-04-09 10:04:10 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-04-09 10:04:10 +0000 |
commit | d5061cb1cdbcb13fa0ba99ab9840c95565673b91 (patch) | |
tree | 4e73314993b71443dcdd41f687ed8bfceb02d9c0 /contrib/diff/lib/posixver.c | |
parent | 99469b7e8a92312f6404016ff3bba73d170c64be (diff) | |
download | FreeBSD-src-d5061cb1cdbcb13fa0ba99ab9840c95565673b91.zip FreeBSD-src-d5061cb1cdbcb13fa0ba99ab9840c95565673b91.tar.gz |
Fix the assertions for the state of the object under the map entry
with the MAP_ENTRY_VN_WRITECNT flag:
- Move the assertion that verifies the state of the v_writecount and
vnp.writecount, under the block where the object is locked.
- Check that the object type is OBJT_VNODE before asserting.
Reported by: avg
Reviewed by: alc
MFC after: 1 week
Diffstat (limited to 'contrib/diff/lib/posixver.c')
0 files changed, 0 insertions, 0 deletions