View | Details | Raw Unified | Return to bug 242768 | Differences between
and this patch

Collapse All | Expand All

(-)fs/nfsserver/nfs_nfsdstate.c (-1 / +4 lines)
Lines 1554-1560 nfsrv_freeallnfslocks(struct nfsstate *stp, vnode_t vp Link Here
1554
				tvp = NULL;
1554
				tvp = NULL;
1555
			else if (vp == NULL && cansleep != 0) {
1555
			else if (vp == NULL && cansleep != 0) {
1556
				tvp = nfsvno_getvp(&lfp->lf_fh);
1556
				tvp = nfsvno_getvp(&lfp->lf_fh);
1557
				NFSVOPUNLOCK(tvp, 0);
1557
				if (tvp != NULL)
1558
					NFSVOPUNLOCK(tvp, 0);
1559
				else
1560
					printf("Would panic without patch!\n");
1558
			} else
1561
			} else
1559
				tvp = vp;
1562
				tvp = vp;
1560
			gottvp = 1;
1563
			gottvp = 1;

Return to bug 242768