diff options
author | kan <kan@FreeBSD.org> | 2003-11-01 05:51:54 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-11-01 05:51:54 +0000 |
commit | bc70c0727c709335658c2ab7980d179e736cfc1c (patch) | |
tree | fc32ca407dafe0c0f95d6d7b1272204d302f9100 /sys/fs | |
parent | 3ba101637bdc0a936597b3fb777dca1cf0e45a5e (diff) | |
download | FreeBSD-src-bc70c0727c709335658c2ab7980d179e736cfc1c.zip FreeBSD-src-bc70c0727c709335658c2ab7980d179e736cfc1c.tar.gz |
Temporarily undo parts of the stuct mount locking commit by jeff.
It is unsafe to hold a mutex across vput/vrele calls.
This will be redone when a better locking strategy is agreed upon.
Discussed with: jeff
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/msdosfs/msdosfs_vfsops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/fs/msdosfs/msdosfs_vfsops.c b/sys/fs/msdosfs/msdosfs_vfsops.c index fc0e354..21bd2bc 100644 --- a/sys/fs/msdosfs/msdosfs_vfsops.c +++ b/sys/fs/msdosfs/msdosfs_vfsops.c @@ -814,8 +814,7 @@ loop: error = VOP_FSYNC(vp, cred, waitfor, td); if (error) allerror = error; - VOP_UNLOCK(vp, 0, td); - vrele(vp); + vput(vp); mtx_lock(&mntvnode_mtx); } mtx_unlock(&mntvnode_mtx); |