diff options
author | Ian Moffett <ian@osmora.org> | 2024-05-25 23:20:34 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-05-25 23:24:05 -0400 |
commit | 920dbd04588d869f0c2148a1be356533bfb3ce4c (patch) | |
tree | 408b33f8cc3d41f5ad4da3e819f96f1fbff8e81e /sys/fs | |
parent | 94d6ea02c510ca3752d9667dac13bfb16ab2ee2c (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/fs')
0 files changed, 0 insertions, 0 deletions