Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2020 19:23:19 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r546807 - head/emulators/virtualbox-ose/files
Message-ID:  <202008281923.07SJNJGO068057@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008281923.07SJNJGO068057>