mirror of
https://git.freebsd.org/ports.git
synced 2025-06-13 00:30:33 -04:00
- Use new style LIB_DEPENDS. PR: 173038, 174290, 180499 Submitted by: Garrett Cooper <yaneurabeya@gmail.com> Approved by: swills (maintainer)
12 lines
326 B
C
12 lines
326 B
C
--- modules/freebsd/vmhgfs/vfsops.c.orig
|
|
+++ modules/freebsd/vmhgfs/vfsops.c
|
|
@@ -201,7 +201,9 @@
|
|
* structures, not oplocks/leases with the VM's host.)
|
|
*/
|
|
+#if __FreeBSD_version < 1000021
|
|
MNT_ILOCK(mp);
|
|
mp->mnt_kern_flag |= MNTK_MPSAFE;
|
|
MNT_IUNLOCK(mp);
|
|
+#endif
|
|
|
|
/* Get a new unique filesystem ID */
|