diff options
Diffstat (limited to 'emulators/open-vm-kmod/files/patch-vmblock_subr.c')
-rw-r--r-- | emulators/open-vm-kmod/files/patch-vmblock_subr.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/emulators/open-vm-kmod/files/patch-vmblock_subr.c b/emulators/open-vm-kmod/files/patch-vmblock_subr.c new file mode 100644 index 000000000000..256772117d77 --- /dev/null +++ b/emulators/open-vm-kmod/files/patch-vmblock_subr.c @@ -0,0 +1,29 @@ +--- vmblock/subr.c.orig 2025-10-01 18:42:23 UTC ++++ vmblock/subr.c +@@ -208,7 +208,7 @@ VMBlockHashGet(struct mount *mp, // IN: vmblock + } + } + mtx_unlock(&hashMutex); +- return NULLVP; ++ return NULL; + } + + +@@ -254,7 +254,7 @@ VMBlockHashInsert(struct mount *mp, // IN: + } + LIST_INSERT_HEAD(hd, xp, hashEntry); + mtx_unlock(&hashMutex); +- return NULLVP; ++ return NULL; + } + + +@@ -465,7 +465,7 @@ VMBlockCheckVp(vp, fil, lno) + panic("VMBlockCheckVp"); + }; + #endif +- if (a->lowerVnode == NULLVP) { ++ if (a->lowerVnode == NULL) { + /* Should never happen */ + int i; u_long *p; + printf("vp = %p, ZERO ptr\n", (void *)vp); |