Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 2009 16:51:20 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Takahashi Yoshihiro <nyan@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r197535 - head/sys/modules/nfslockd
Message-ID:  <20090927135120.GI47688@deviant.kiev.zoral.com.ua>
In-Reply-To: <200909271324.n8RDOYVY090431@svn.freebsd.org>
References:  <200909271324.n8RDOYVY090431@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--nQ68ZCL8P0driJRh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> Log:
>   Add '#define NFSCLIENT' into opt_nfs.h if the NFSCLIENT variable is 1
>   (the default is 1).
>  =20
>   This makes the nfslockd module works for NFS client.
>  =20
>   Reviewed by:	dfr
>   MFC after:	3 days
>=20
> Modified:
>   head/sys/modules/nfslockd/Makefile
>=20
> Modified: head/sys/modules/nfslockd/Makefile
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- 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+=3D	opt_inet6.h opt_nfs.h
> =20
>  .if !defined(KERNBUILDDIR)
>  NFS_INET6?=3D	1	# 0/1 - requires INET6 to be configured in kernel
> +NFSCLIENT?=3D	1	# 0/1 - requires NFSCLIENT to be configured in kernel
> =20
>  .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
> =20
>  .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 ?

--nQ68ZCL8P0driJRh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkq/bdcACgkQC3+MBN1Mb4gm/QCggc9moKYuNkuaSxmf9c2B07ZM
ZQMAnRCh1ooJ+1tPIEg8tF0OEur/QJwT
=DTjV
-----END PGP SIGNATURE-----

--nQ68ZCL8P0driJRh--



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