aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2003-10-05 06:46:45 +0000
committerJeff Roberson <jeff@FreeBSD.org>2003-10-05 06:46:45 +0000
commitb21ad23fff90c6e159074d17e12198a292e723bf (patch)
tree14f51af774a1d890b324f0c00261296df4bd1c2e /sys/nfsclient
parent4b1a52f6392dcd6955e8aec7a25976f9d0134a3a (diff)
Notes
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/nfs_subs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_subs.c b/sys/nfsclient/nfs_subs.c
index e19f02fcb755..e43bd927ac58 100644
--- a/sys/nfsclient/nfs_subs.c
+++ b/sys/nfsclient/nfs_subs.c
@@ -795,6 +795,10 @@ loop:
goto loop;
nvp = TAILQ_NEXT(vp, v_nmntvnodes);
VI_LOCK(vp);
+ if (vp->v_iflag & VI_XLOCK) {
+ VI_UNLOCK(vp);
+ continue;
+ }
mtx_unlock(&mntvnode_mtx);
for (bp = TAILQ_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) {
nbp = TAILQ_NEXT(bp, b_vnbufs);