mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Add MODULE_DEPEND() macros to the experimental NFS client and
server so that the modules will load when kernels are built with none of the NFS* configuration options specified. I believe this resolves the problems reported by PR kern/144458 and the email on freebsd-stable@ posted by Dmitry Pryanishnikov on June 13. Tested by: kib PR: kern/144458 Reviewed by: kib MFC after: 1 week
This commit is contained in:
parent
781e51d3eb
commit
a8437c97f1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209191
@ -1275,4 +1275,6 @@ DECLARE_MODULE(nfscl, nfscl_mod, SI_SUB_VFS, SI_ORDER_FIRST);
|
||||
/* So that loader and kldload(2) can find us, wherever we are.. */
|
||||
MODULE_VERSION(nfscl, 1);
|
||||
MODULE_DEPEND(nfscl, nfscommon, 1, 1, 1);
|
||||
MODULE_DEPEND(nfscl, krpc, 1, 1, 1);
|
||||
MODULE_DEPEND(nfscl, nfssvc, 1, 1, 1);
|
||||
|
||||
|
@ -3147,4 +3147,6 @@ DECLARE_MODULE(nfsd, nfsd_mod, SI_SUB_VFS, SI_ORDER_ANY);
|
||||
MODULE_VERSION(nfsd, 1);
|
||||
MODULE_DEPEND(nfsd, nfscommon, 1, 1, 1);
|
||||
MODULE_DEPEND(nfsd, nfslockd, 1, 1, 1);
|
||||
MODULE_DEPEND(nfsd, krpc, 1, 1, 1);
|
||||
MODULE_DEPEND(nfsd, nfssvc, 1, 1, 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user