mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-16 21:34:10 +00:00
Don't depend on krpc.ko in the NFS_LEGACYRPC case.
This commit is contained in:
parent
c30067e8bf
commit
c3c1513719
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184719
|
@ -596,7 +596,9 @@ DECLARE_MODULE(nfsserver, nfsserver_mod, SI_SUB_VFS, SI_ORDER_ANY);
|
|||
|
||||
/* So that loader and kldload(2) can find us, wherever we are.. */
|
||||
MODULE_VERSION(nfsserver, 1);
|
||||
#ifndef NFS_LEGACYRPC
|
||||
MODULE_DEPEND(nfsserver, krpc, 1, 1, 1);
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Set up nameidata for a lookup() call and do it.
|
||||
|
|
Loading…
Reference in a new issue