summaryrefslogtreecommitdiff
path: root/sys/isofs
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2006-04-19 11:55:56 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2006-04-19 11:55:56 +0000
commitcc29e9cd03bbae7b4208a429f2b19cec76c97cda (patch)
tree7838b983f5eccae84ca029e608a7a433f9d22aa0 /sys/isofs
parent9a844318226ccb44fc573779b6ee31f5af4e966e (diff)
Remove unused mount list simple_lock() goo
Diffstat (limited to 'sys/isofs')
-rw-r--r--sys/isofs/cd9660/cd9660_vfsops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c
index 20c0f381537..3883496b5c7 100644
--- a/sys/isofs/cd9660/cd9660_vfsops.c
+++ b/sys/isofs/cd9660/cd9660_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cd9660_vfsops.c,v 1.38 2006/01/22 00:40:02 miod Exp $ */
+/* $OpenBSD: cd9660_vfsops.c,v 1.39 2006/04/19 11:55:55 pedro Exp $ */
/* $NetBSD: cd9660_vfsops.c,v 1.26 1997/06/13 15:38:58 pk Exp $ */
/*-
@@ -112,12 +112,12 @@ cd9660_mountroot()
free(mp, M_MOUNT);
return (error);
}
- simple_lock(&mountlist_slock);
+
CIRCLEQ_INSERT_TAIL(&mountlist, mp, mnt_list);
- simple_unlock(&mountlist_slock);
(void)cd9660_statfs(mp, &mp->mnt_stat, p);
vfs_unbusy(mp);
inittodr(0);
+
return (0);
}