svn commit: r306635 - stable/11/sys/fs/cuse
Hans Petter Selasky
hselasky at FreeBSD.org
Mon Oct 3 12:58:10 UTC 2016
Author: hselasky
Date: Mon Oct 3 12:58:08 2016
New Revision: 306635
URL: https://svnweb.freebsd.org/changeset/base/306635
Log:
MFC r306228:
Prevent cuse4bsd.ko and cuse.ko from loading at the same time by
declaring support for the cuse4bsd interface in cuse.ko.
Found by: Sergey V. Dyatko <sergey.dyatko at gmail.com>
Modified:
stable/11/sys/fs/cuse/cuse.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/fs/cuse/cuse.c
==============================================================================
--- stable/11/sys/fs/cuse/cuse.c Mon Oct 3 12:48:55 2016 (r306634)
+++ stable/11/sys/fs/cuse/cuse.c Mon Oct 3 12:58:08 2016 (r306635)
@@ -63,6 +63,12 @@
MODULE_VERSION(cuse, 1);
+/*
+ * Prevent cuse4bsd.ko and cuse.ko from loading at the same time by
+ * declaring support for the cuse4bsd interface in cuse.ko:
+ */
+MODULE_VERSION(cuse4bsd, 1);
+
#define NBUSY ((uint8_t *)1)
#ifdef FEATURE
More information about the svn-src-stable-11
mailing list