mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-06 01:57:40 +00:00
emulators/virtualbox-ose-additons: Fix build on recent head
Fix build after head commit b4a58fbf640409a1 (vfs: remove cn_thread) MFH: 2021Q4
This commit is contained in:
parent
4df137cb79
commit
21d79d6e16
@ -1,6 +1,6 @@
|
||||
--- src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c.orig 2021-07-28 16:16:27 UTC
|
||||
+++ src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c
|
||||
@@ -14,228 +14,1350 @@
|
||||
@@ -14,228 +14,1354 @@
|
||||
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
||||
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
||||
*/
|
||||
@ -1397,7 +1397,11 @@
|
||||
+ cnp->cn_flags & DOWHITEOUT &&
|
||||
+ cnp->cn_flags & ISWHITEOUT))) {
|
||||
+ error = VOP_ACCESS(dvp, VWRITE, cnp->cn_cred,
|
||||
+#if __FreeBSD_version < 1400037
|
||||
+ cnp->cn_thread);
|
||||
+#else
|
||||
+ curthread);
|
||||
+#endif
|
||||
+ if (error != 0)
|
||||
+ goto out;
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user