summaryrefslogtreecommitdiffstats
path: root/sys/fs/tmpfs
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2013-04-28 19:25:09 +0000
committerkib <kib@FreeBSD.org>2013-04-28 19:25:09 +0000
commitd4d37d6d8889403ad1350f932cbb9421b9b6023d (patch)
treeeab8c64a9ac67fa54d6074b6926472ab85af746d /sys/fs/tmpfs
parentdae393576885009863cdf2f416eba41391fa7712 (diff)
downloadFreeBSD-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/fs/tmpfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud