diff options
author | jeff <jeff@FreeBSD.org> | 2003-10-04 12:52:37 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-10-04 12:52:37 +0000 |
commit | 449c7a515c3fc0ecb9e6e170e5152132a1fe0f26 (patch) | |
tree | 354b41d9a7cda681a1a36d13563190db70866030 /sys/fs/msdosfs | |
parent | b8e79e62d033f8ceaab13cf40e9026f2c075f218 (diff) | |
download | FreeBSD-src-449c7a515c3fc0ecb9e6e170e5152132a1fe0f26.zip FreeBSD-src-449c7a515c3fc0ecb9e6e170e5152132a1fe0f26.tar.gz |
- Acquire the vnode interlock prior to droping the mntvnode_mtx. This does
not eliminate races where the vnode could be reclaimed and end up with
a NULL v_data pointer but Giant is protecting us from that at the moment.
Diffstat (limited to 'sys/fs/msdosfs')
-rw-r--r-- | sys/fs/msdosfs/msdosfs_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c index 875d580..c6e25d2 100644 --- a/sys/fs/msdosfs/msdosfs_vfsops.c +++ b/sys/fs/msdosfs/msdosfs_vfsops.c @@ -789,8 +789,8 @@ loop: goto loop; nvp = TAILQ_NEXT(vp, v_nmntvnodes); - mtx_unlock(&mntvnode_mtx); VI_LOCK(vp); + mtx_unlock(&mntvnode_mtx); dep = VTODE(vp); if (vp->v_type == VNON || ((dep->de_flag & |