Fix emulators/virtualbox-os-additions on head after vget(9) change.
This commit is contained in:
parent
c19761c5f6
commit
ea7cc70e0b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546807
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user