diff options
author | jhb <jhb@FreeBSD.org> | 2001-06-28 22:21:33 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-06-28 22:21:33 +0000 |
commit | 1bc2ddffa02d9d64d8e514191703730bca741a4b (patch) | |
tree | 98170668bcb81e6251bf86c6d9e1741b525e1391 /sys/ufs/ffs/ffs_vfsops.c | |
parent | 6854d0f52c464a278d5fb9f00b4507a11ee52080 (diff) | |
download | FreeBSD-src-1bc2ddffa02d9d64d8e514191703730bca741a4b.zip FreeBSD-src-1bc2ddffa02d9d64d8e514191703730bca741a4b.tar.gz |
Fix more mntvnode and vnode interlock order reversals.
Diffstat (limited to 'sys/ufs/ffs/ffs_vfsops.c')
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index e99bef3..b137a90 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -482,15 +482,15 @@ loop: goto loop; } nvp = LIST_NEXT(vp, v_mntvnodes); + mtx_unlock(&mntvnode_mtx); /* * Step 4: invalidate all inactive vnodes. */ - if (vrecycle(vp, &mntvnode_mtx, p)) + if (vrecycle(vp, NULL, p)) goto loop; /* * Step 5: invalidate all cached file data. */ - mtx_unlock(&mntvnode_mtx); mtx_lock(&vp->v_interlock); if (vget(vp, LK_EXCLUSIVE | LK_INTERLOCK, p)) { goto loop; |