aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_device.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-05-25 23:20:34 -0400
committerIan Moffett <ian@osmora.org>2024-05-25 23:24:05 -0400
commit920dbd04588d869f0c2148a1be356533bfb3ce4c (patch)
tree408b33f8cc3d41f5ad4da3e819f96f1fbff8e81e /sys/vm/vm_device.c
parent94d6ea02c510ca3752d9667dac13bfb16ab2ee2c (diff)
kernel: vm: Fix vm_obj_destroy()
- Set vp->vmobj to NULL *only* if vp is set - Refcount starts at 0, not 1 - Refcount check comes first Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/vm/vm_device.c')
0 files changed, 0 insertions, 0 deletions