Patch against 2.4.21-pre9.
Mark
diff -urN linux-2.4.21-pre9/fs/nfsd/export.c nlmdetach/fs/nfsd/export.c
--- linux-2.4.21-pre9/fs/nfsd/export.c 2003-07-31 20:49:28.000000000 +0100
+++ nlmdetach/fs/nfsd/export.c 2003-07-31 21:08:56.000000000 +0100
@@ -903,8 +903,10 @@
{
struct svc_client *clp;
+ exp_readlock();
for (clp = clients; clp; clp = clp->cl_next)
nfsd_lockd_unexport(clp);
+ exp_unlock();
}
/*
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
On Thursday July 31, [email protected] wrote:
> Patch against 2.4.21-pre9.
>
> Mark
Thanks. I'll forward it to Marcelo.
NeilBrown
>
> diff -urN linux-2.4.21-pre9/fs/nfsd/export.c nlmdetach/fs/nfsd/export.c
> --- linux-2.4.21-pre9/fs/nfsd/export.c 2003-07-31 20:49:28.000000000 +0100
> +++ nlmdetach/fs/nfsd/export.c 2003-07-31 21:08:56.000000000 +0100
> @@ -903,8 +903,10 @@
> {
> struct svc_client *clp;
>
> + exp_readlock();
> for (clp = clients; clp; clp = clp->cl_next)
> nfsd_lockd_unexport(clp);
> + exp_unlock();
> }
>
> /*
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs