zfs: add MODULE_VERSION for zfsctrl
This should allow the kernel linker to easily detect a situation when the module is present both in a kernel and in a preloaded file (zfs.ko). Reviewed by: jhb MFC after: 5 days
This commit is contained in:
parent
3fd25813ed
commit
13235aaa89
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246242
@ -5536,6 +5536,7 @@ static moduledata_t zfs_mod = {
|
||||
0
|
||||
};
|
||||
DECLARE_MODULE(zfsctrl, zfs_mod, SI_SUB_VFS, SI_ORDER_ANY);
|
||||
MODULE_VERSION(zfsctrl, 1);
|
||||
MODULE_DEPEND(zfsctrl, opensolaris, 1, 1, 1);
|
||||
MODULE_DEPEND(zfsctrl, krpc, 1, 1, 1);
|
||||
MODULE_DEPEND(zfsctrl, acl_nfs4, 1, 1, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user