ports/emulators/open-vm-kmod/files/patch-vmblock_vfsops.c
Baptiste Daroussin 77dbd57b8e emulators/open-vm-{tools,kmod}: split the package
Split the package to build the kmods separatly! Building separately has
multiple benefits:
1. it allows user to rebuild when they upgrade their kernel without
   rebuilding all of the tools which can take a long time.
2. it allows us to provide the modules in the new kmods package
   repository
3. it installs the kmods the in the same place as the regular kmods:
   /boot/modules

It means we can probably get rid of the rc script in favor if letting
users use kld_list mecanism but I will let this decision to the
maintainer based on what it probably best for users.

Approved by:	garga (maintainer)
Reviewed by:	garga (maintainer)
Differential Revision:	https://reviews.freebsd.org/D48059
2024-12-12 18:18:23 +01:00

10 lines
294 B
C

--- vmblock/vfsops.c.orig 2024-10-10 15:05:07 UTC
+++ vmblock/vfsops.c
@@ -173,7 +173,6 @@ VMBlockVFSMount(struct mount *mp) // IN: mount(
#endif
error = namei(ndp);
if (error) {
- NDFREE(ndp, 0);
uma_zfree(VMBlockPathnameZone, pathname);
return error;
}