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:
hselasky 2016-09-23 07:41:23 +00:00
parent 2d588d63f8
commit 7169d20b74

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