Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 2008 11:43:49 +0000 (UTC)
From:      Doug Rabson <dfr@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184719 - head/sys/nfsserver
Message-ID:  <200811061143.mA6BhnnZ054678@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dfr
Date: Thu Nov  6 11:43:49 2008
New Revision: 184719
URL: http://svn.freebsd.org/changeset/base/184719

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

Modified:
  head/sys/nfsserver/nfs_srvsubs.c

Modified: head/sys/nfsserver/nfs_srvsubs.c
==============================================================================
--- head/sys/nfsserver/nfs_srvsubs.c	Thu Nov  6 11:11:25 2008	(r184718)
+++ head/sys/nfsserver/nfs_srvsubs.c	Thu Nov  6 11:43:49 2008	(r184719)
@@ -596,7 +596,9 @@ DECLARE_MODULE(nfsserver, nfsserver_mod,
 
 /* 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811061143.mA6BhnnZ054678>