Messages in this thread Patch in this message | | | From | Neil Brown <> | Date | Mon, 7 Apr 2003 13:32:07 +1000 | Subject | Re: 2.5: Can't unmount fs after using NFS |
| |
On March 30, felipe_alfaro@linuxmail.org wrote: > Hi, > > Since I started testing 2.5 on my NFS server, I'm having problems > unmounting filesystems that were exported by NFS (of course, before > trying to unmount, I stopped NFS):
Thankyou for the bug report. After spending far too long looking in the wrong place, I looked in the right place and found it. This patch should fix it.
NeilBrown
diff ./fs/nfsd/export.c~current~ ./fs/nfsd/export.c --- ./fs/nfsd/export.c~current~ 2003-04-07 10:42:48.000000000 +1000 +++ ./fs/nfsd/export.c 2003-04-07 13:25:55.000000000 +1000 @@ -838,7 +836,7 @@ exp_rootfh(svc_client *clp, char *path, err = 0; memcpy(f, &fh.fh_handle, sizeof(struct knfsd_fh)); fh_put(&fh); - + exp_put(exp); out: path_release(&nd); return err; - 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/
| |