Date: Sun, 27 Sep 2009 21:20:32 +0900 (JST) From: Takahashi Yoshihiro <nyan@jp.FreeBSD.org> To: dfr@FreeBSD.org Cc: current@freebsd.org Subject: nfslockd module Message-ID: <20090927.212032.94955070.nyan@jp.FreeBSD.org>
next in thread | raw e-mail | index | archive | help
----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 <nyan@FreeBSD.org> ----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 <bsd.kmod.mk> ----Next_Part(Sun_Sep_27_21_20_32_2009_191)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090927.212032.94955070.nyan>