mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 12:59:17 -04:00
For the most part this is just to track upstream for FreeBSD. In particular 10.2.0 introduced a regression whereby UFS support was dropped. The fix was backported to the FreeBSD port of 10.2.0 in lieu of waiting for 10.2.5 to be released. PR: 227124 Submitted by: John Wolfe <jwolfe@vmware.com>
26 lines
674 B
C
26 lines
674 B
C
--- modules/freebsd/vmblock/vfsops.c.orig 2018-03-30 18:44:35 UTC
|
|
+++ modules/freebsd/vmblock/vfsops.c
|
|
@@ -124,6 +124,11 @@ VMBlockVFSMount(struct mount *mp, // IN: mount(
|
|
char *pathname;
|
|
int len, error = 0;
|
|
|
|
+#if __FreeBSD_version >= 800087
|
|
+ struct thread *td;
|
|
+ td = curthread;
|
|
+#endif
|
|
+
|
|
VMBLOCKDEBUG("VMBlockVFSMount(mp = %p)\n", (void *)mp);
|
|
|
|
/*
|
|
@@ -276,6 +281,11 @@ VMBlockVFSUnmount(struct mount *mp, // IN: filesyst
|
|
void *mntdata;
|
|
int error;
|
|
int flags = 0, removed = 0;
|
|
+
|
|
+#if __FreeBSD_version >= 800087
|
|
+ struct thread *td;
|
|
+ td = curthread;
|
|
+#endif
|
|
|
|
VMBLOCKDEBUG("VMBlockVFSUnmount: mp = %p\n", (void *)mp);
|
|
|