aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/cd9660
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2010-07-16 19:20:20 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2010-07-16 19:20:20 +0000
commitdbfcf8cfea089e7b1df1e49f71b9fa7fdb80c6df (patch)
tree9b1c6ddf4f580be24a7413269d25ce4dbc614e35 /sys/fs/cd9660
parent12c5cab23ea0cdb5924b9e7d566284ecb82eeb94 (diff)
Notes
Diffstat (limited to 'sys/fs/cd9660')
-rw-r--r--sys/fs/cd9660/cd9660_vfsops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
index e27daf8bb046..b8bc6c6c5e1d 100644
--- a/sys/fs/cd9660/cd9660_vfsops.c
+++ b/sys/fs/cd9660/cd9660_vfsops.c
@@ -814,7 +814,9 @@ cd9660_vget_internal(mp, ino, flags, vpp, relocated, isodir)
vp->v_op = &cd9660_fifoops;
break;
default:
+ VI_LOCK(vp);
VN_LOCK_ASHARE(vp);
+ VI_UNLOCK(vp);
break;
}