Date: Thu, 27 Feb 2003 13:17:48 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 26038 for review Message-ID: <200302272117.h1RLHlQx051283@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=26038 Change 26038 by jhb@jhb_laptop on 2003/02/27 13:17:03 Integ NFS bugfix to stop my box from panic'ing. Affected files ... .. //depot/projects/smpng/sys/nfsclient/nfs_vnops.c#21 integrate Differences ... ==== //depot/projects/smpng/sys/nfsclient/nfs_vnops.c#21 (text+ko) ==== @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: src/sys/nfsclient/nfs_vnops.c,v 1.196 2003/02/25 08:50:21 jeff Exp $"); +__FBSDID("$FreeBSD: src/sys/nfsclient/nfs_vnops.c,v 1.197 2003/02/26 00:24:19 jeff Exp $"); /* * vnode op calls for Sun NFS version 2 and 3 @@ -2659,8 +2659,11 @@ if (bvecpos >= bvecsize) break; if ((bp->b_flags & (B_DELWRI | B_NEEDCOMMIT)) != - (B_DELWRI | B_NEEDCOMMIT) || - BUF_LOCK(bp, + (B_DELWRI | B_NEEDCOMMIT)) { + nbp = TAILQ_NEXT(bp, b_vnbufs); + continue; + } + if (BUF_LOCK(bp, LK_EXCLUSIVE | LK_NOWAIT | LK_INTERLOCK, VI_MTX(vp))) { VI_LOCK(vp); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302272117.h1RLHlQx051283>