patch-2.4.23 linux-2.4.23/fs/nfsd/export.c
Next file: linux-2.4.23/fs/nfsd/nfsfh.c
Previous file: linux-2.4.23/fs/nfs/write.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/fs/nfsd/export.c
- Orig date:
2003-08-25 04:44:43.000000000 -0700
diff -urN linux-2.4.22/fs/nfsd/export.c linux-2.4.23/fs/nfsd/export.c
@@ -640,7 +640,7 @@
{ NFSEXP_UIDMAP, {"uidmap", ""}},
{ NFSEXP_KERBEROS, { "kerberos", ""}},
{ NFSEXP_SUNSECURE, { "sunsecure", ""}},
- { NFSEXP_CROSSMNT, {"nohide", ""}},
+ { NFSEXP_NOHIDE, {"nohide", ""}},
{ NFSEXP_NOSUBTREECHECK, {"no_subtree_check", ""}},
{ NFSEXP_NOAUTHNLM, {"insecure_locks", ""}},
#ifdef MSNFS
@@ -903,8 +903,10 @@
{
struct svc_client *clp;
+ exp_readlock();
for (clp = clients; clp; clp = clp->cl_next)
nfsd_lockd_unexport(clp);
+ exp_unlock();
}
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)