svn commit: r306228 - head/sys/fs/cuse

Hans Petter Selasky hselasky at FreeBSD.org
Fri Sep 23 07:41:25 UTC 2016


Author: hselasky
Date: Fri Sep 23 07:41:23 2016
New Revision: 306228
URL: https://svnweb.freebsd.org/changeset/base/306228

Log:
  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>
  MFC after:	1 week

Modified:
  head/sys/fs/cuse/cuse.c

Modified: head/sys/fs/cuse/cuse.c
==============================================================================
--- head/sys/fs/cuse/cuse.c	Fri Sep 23 07:06:39 2016	(r306227)
+++ head/sys/fs/cuse/cuse.c	Fri Sep 23 07:41:23 2016	(r306228)
@@ -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-all mailing list