aboutsummaryrefslogtreecommitdiff
path: root/emulators/open-vm-kmod/files/patch-vmblock_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/open-vm-kmod/files/patch-vmblock_vfsops.c')
-rw-r--r--emulators/open-vm-kmod/files/patch-vmblock_vfsops.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/emulators/open-vm-kmod/files/patch-vmblock_vfsops.c b/emulators/open-vm-kmod/files/patch-vmblock_vfsops.c
index 97840675e338..11207b5cb0e2 100644
--- a/emulators/open-vm-kmod/files/patch-vmblock_vfsops.c
+++ b/emulators/open-vm-kmod/files/patch-vmblock_vfsops.c
@@ -1,4 +1,4 @@
---- vmblock/vfsops.c.orig 2024-10-10 15:05:07 UTC
+--- vmblock/vfsops.c.orig 2025-10-01 18:44:42 UTC
+++ vmblock/vfsops.c
@@ -173,7 +173,6 @@ VMBlockVFSMount(struct mount *mp) // IN: mount(
#endif
@@ -8,3 +8,12 @@
uma_zfree(VMBlockPathnameZone, pathname);
return error;
}
+@@ -354,7 +353,7 @@ VMBlockVFSRoot(struct mount *mp, // IN: vmblock
+ * Return locked reference to root.
+ */
+ vp = MNTTOVMBLOCKMNT(mp)->rootVnode;
+- VREF(vp);
++ vref(vp);
+ compat_vn_lock(vp, flags | LK_RETRY, compat_td);
+ *vpp = vp;
+ return 0;