Don't depend on krpc.ko in the NFS_LEGACYRPC case.

This commit is contained in:
Doug Rabson 2008-11-06 11:43:49 +00:00
parent c30067e8bf
commit c3c1513719
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184719

View File

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