> Greetings!
> 
> I'm having a problem with nfsd hanging and not serving mount points,
> during which time it can not not be killed. This problem started
> happening sometime after November 2nd, since kernel from 11/2 sources
> does not exhibit this problem.

Please try the attached patch, rick
ps: Starting about Monday I won't be able to do commits for about 3 weeks
    so, if this patch works, could someone else please commit it, thanks,
    rick
--- nfs_serv.c.sav	2010-11-05 08:15:57.000000000 -0400
+++ nfs_serv.c	2010-11-05 08:18:40.000000000 -0400
@@ -3252,7 +3252,7 @@
 			nfhp->fh_fsid = nvp->v_mount->mnt_stat.f_fsid;
 			if ((error1 = VOP_VPTOFH(nvp, &nfhp->fh_fid)) == 0)
 				error1 = VOP_GETATTR(nvp, vap, cred);
-			if (vp == nvp)
+			if (usevget == 0 && vp == nvp)
 				vunref(nvp);
 			else
 				vput(nvp);
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to