diff options
author | kib <kib@FreeBSD.org> | 2013-04-28 19:25:09 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2013-04-28 19:25:09 +0000 |
commit | d4d37d6d8889403ad1350f932cbb9421b9b6023d (patch) | |
tree | eab8c64a9ac67fa54d6074b6926472ab85af746d /sys/dev/isci | |
parent | dae393576885009863cdf2f416eba41391fa7712 (diff) | |
download | FreeBSD-src-d4d37d6d8889403ad1350f932cbb9421b9b6023d.zip FreeBSD-src-d4d37d6d8889403ad1350f932cbb9421b9b6023d.tar.gz |
Make vm_object_page_clean() and vm_mmap_vnode() tolerate the vnode'
v_object of non OBJT_VNODE type.
For vm_object_page_clean(), simply do not assert that object type must
be OBJT_VNODE, and add a comment explaining how the check for
OBJ_MIGHTBEDIRTY prevents the rest of function from operating on such
objects.
For vm_mmap_vnode(), if the object type is not OBJT_VNODE, require it
to be for swap pager (or default), handle the bypass filesystems, and
correctly acquire the object reference in this case.
Reviewed by: alc
Tested by: pho, bf
MFC after: 1 week
Diffstat (limited to 'sys/dev/isci')
0 files changed, 0 insertions, 0 deletions