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@gmail.com>
MFC after:	1 week
This commit is contained in:
Hans Petter Selasky 2016-09-23 07:41:23 +00:00
parent deffc4a026
commit 19f1b6fb7b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=306228

View File

@ -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