svn commit: r546807 - head/emulators/virtualbox-ose/files
Jung-uk Kim
jkim at FreeBSD.org
Fri Aug 28 19:23:20 UTC 2020
Author: jkim
Date: Fri Aug 28 19:23:19 2020
New Revision: 546807
URL: https://svnweb.freebsd.org/changeset/ports/546807
Log:
Fix emulators/virtualbox-os-additions on head after vget(9) change.
Modified:
head/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c
Modified: head/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c
==============================================================================
--- head/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c Fri Aug 28 19:23:06 2020 (r546806)
+++ head/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c Fri Aug 28 19:23:19 2020 (r546807)
@@ -12,7 +12,7 @@
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
-@@ -14,228 +10,1343 @@
+@@ -14,228 +10,1347 @@
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
@@ -272,7 +272,11 @@
+ goto loop1;
+ }
+ VBOXFS_NODE_UNLOCK(node);
++#if __FreeBSD_version < 1300109
+ error = vget(vp, lkflag | LK_INTERLOCK, curthread);
++#else
++ error = vget(vp, lkflag | LK_INTERLOCK);
++#endif
+ if (error == ENOENT)
+ goto loop;
+ if (error != 0) {
More information about the svn-ports-all
mailing list