From fcab598523dfb486656c4be6e9399ab555cb1165 Mon Sep 17 00:00:00 2001 From: dyson Date: Thu, 5 Feb 1998 16:40:57 +0000 Subject: Fix an omission of a line from the previous commit to this file. The problem appeared to be an NFS hang. --- sys/nfsclient/nfs_vfsops.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/nfsclient/nfs_vfsops.c') diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index d7f112e..2776fac 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_vfsops.c 8.12 (Berkeley) 5/20/95 - * $Id: nfs_vfsops.c,v 1.51 1997/10/28 15:59:12 bde Exp $ + * $Id: nfs_vfsops.c,v 1.52 1997/11/12 05:42:21 julian Exp $ */ #include @@ -956,7 +956,8 @@ loop: */ if (vp->v_mount != mp) goto loop; - if (VOP_ISLOCKED(vp) || vp->v_dirtyblkhd.lh_first == NULL) + if (VOP_ISLOCKED(vp) || vp->v_dirtyblkhd.lh_first == NULL || + waitfor == MNT_LAZY) continue; if (vget(vp, LK_EXCLUSIVE, p)) goto loop; -- cgit v1.1