Use vrefact in vnode_pager_alloc.

This commit is contained in:
Mateusz Guzik 2016-12-31 10:37:56 +00:00
parent 1b135e4f47
commit 6ff51a3685
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=310907

View File

@ -265,7 +265,7 @@ vnode_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot,
#endif
VM_OBJECT_WUNLOCK(object);
}
vref(vp);
vrefact(vp);
return (object);
}