svn commit: r197535 - head/sys/modules/nfslockd

Kostik Belousov kostikbel at gmail.com
Sun Sep 27 13:51:24 UTC 2009


On Sun, Sep 27, 2009 at 01:24:34PM +0000, Takahashi Yoshihiro wrote:
> Author: nyan
> Date: Sun Sep 27 13:24:34 2009
> New Revision: 197535
> URL: http://svn.freebsd.org/changeset/base/197535
> 
> Log:
>   Add '#define NFSCLIENT' into opt_nfs.h if the NFSCLIENT variable is 1
>   (the default is 1).
>   
>   This makes the nfslockd module works for NFS client.
>   
>   Reviewed by:	dfr
>   MFC after:	3 days
> 
> Modified:
>   head/sys/modules/nfslockd/Makefile
> 
> Modified: head/sys/modules/nfslockd/Makefile
> ==============================================================================
> --- head/sys/modules/nfslockd/Makefile	Sun Sep 27 13:16:38 2009	(r197534)
> +++ head/sys/modules/nfslockd/Makefile	Sun Sep 27 13:24:34 2009	(r197535)
> @@ -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>

It seems more interesting and more unfortunate that nlm would not work
for client when nfs client is not compiled into the kernel ? Is this true ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20090927/b28ced6e/attachment.pgp


More information about the svn-src-all mailing list