Found and fixed... the following patch should make it work for you.
Thanks,
NeilBrown
-----------------------------
Fix problem where knfsd wouldn't release filesystem on unexport.
Problem was that the cache was being updated inplace, rather
than swapping in a new entry, so old filesystem pointers
were overwritten without being released.
----------- Diffstat output ------------
./fs/nfsd/export.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff ./fs/nfsd/export.c~current~ ./fs/nfsd/export.c
--- ./fs/nfsd/export.c~current~ 2003-02-03 16:49:49.000000000 +1100
+++ ./fs/nfsd/export.c 2003-02-03 16:49:52.000000000 +1100
@@ -691,7 +691,7 @@ exp_export(struct nfsctl_export *nxp)
new.ex_anon_gid = nxp->ex_anon_gid;
new.ex_fsid = nxp->ex_dev;
- exp = svc_export_lookup(&new, 2);
+ exp = svc_export_lookup(&new, 1);
if (exp == NULL)
goto finish;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/