Skip to content

Commit

Permalink
emulators/virtualbox-ose: Fix additions build on recent HEAD
Browse files Browse the repository at this point in the history
Src HEAD commit 6d3e78ad6c11 vfs_quotactl function signature, adapt
virtualbox code to be able to compile there too.

MFH:		2021Q2
  • Loading branch information
madpilot78 committed Jun 4, 2021
1 parent 662fb5c commit ef04eff
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
--- src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vfsops.c.orig 2021-04-20 04:24:19 UTC
--- src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vfsops.c.orig 2021-04-28 16:24:46 UTC
+++ src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vfsops.c
@@ -1,8 +1,3 @@
-/* $Id: vboxvfs_vfsops.c $ */
Expand All @@ -9,7 +9,7 @@
/*
* Copyright (C) 2008-2020 Oracle Corporation
*
@@ -14,245 +9,474 @@
@@ -14,245 +9,478 @@
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
Expand Down Expand Up @@ -535,7 +535,11 @@
+ * Do operation associated with quotas, not supported
+ */
+static int
+vboxfs_quotactl(struct mount *mp, int cmd, uid_t uid, void *arg)
+vboxfs_quotactl(struct mount *mp, int cmd, uid_t uid, void *arg
+#if __FreeBSD_version >= 1400018
+ , bool *mp_busy
+#endif
+ )
{
- int rc;
+ return (EOPNOTSUPP);
Expand Down

0 comments on commit ef04eff

Please sign in to comment.