From owner-freebsd-current@FreeBSD.ORG Sun Sep 27 12:21:18 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 960D4106566B; Sun, 27 Sep 2009 12:21:18 +0000 (UTC) (envelope-from nyan@jp.FreeBSD.org) Received: from sakura.ccs.furiru.org (sakura.ccs.furiru.org [IPv6:2001:2f0:104:8060::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2B30E8FC0A; Sun, 27 Sep 2009 12:21:17 +0000 (UTC) Received: from localhost (authenticated bits=0) by sakura.ccs.furiru.org (unknown) with ESMTP id n8RCLD8b055342; Sun, 27 Sep 2009 21:21:16 +0900 (JST) (envelope-from nyan@jp.FreeBSD.org) Date: Sun, 27 Sep 2009 21:20:32 +0900 (JST) Message-Id: <20090927.212032.94955070.nyan@jp.FreeBSD.org> To: dfr@FreeBSD.org From: Takahashi Yoshihiro X-Mailer: Mew version 6.2 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Sun_Sep_27_21_20_32_2009_191)--" Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: nfslockd module X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2009 12:21:18 -0000 ----Next_Part(Sun_Sep_27_21_20_32_2009_191)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit The nfslockd module does not work for NFS client, since NFSCLIENT is not defined in sys/modules/nfslockd/Makefile. I attach a patch for sys/modules/nfslockd/Makefile to fix this problem. If it's no problem, I'll commit it. --- TAKAHASHI Yoshihiro ----Next_Part(Sun_Sep_27_21_20_32_2009_191)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="a.diff" Index: Makefile =================================================================== --- Makefile (revision 197373) +++ Makefile (working copy) @@ -14,11 +14,18 @@ SRCS+= opt_inet6.h opt_nfs.h .if !defined(KERNBUILDDIR) NFS_INET6?= 1 # 0/1 - requires INET6 to be configured in kernel +NFSCLIENT?= 1 # 0/1 - requires NFSCLIENT to be configured in kernel .if ${NFS_INET6} > 0 opt_inet6.h: echo "#define INET6 1" > ${.TARGET} .endif + +.if ${NFSCLIENT} > 0 +opt_nfs.h: + echo "#define NFSCLIENT 1" > ${.TARGET} .endif +.endif + .include ----Next_Part(Sun_Sep_27_21_20_32_2009_191)----