Use vrefact in vnode_pager_alloc.
This commit is contained in:
parent
1b135e4f47
commit
6ff51a3685
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=310907
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user