From cc29e9cd03bbae7b4208a429f2b19cec76c97cda Mon Sep 17 00:00:00 2001 From: Pedro Martelletto Date: Wed, 19 Apr 2006 11:55:56 +0000 Subject: Remove unused mount list simple_lock() goo --- sys/ntfs/ntfs_vfsops.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/ntfs') diff --git a/sys/ntfs/ntfs_vfsops.c b/sys/ntfs/ntfs_vfsops.c index 230bb2b96ca..9d58b930290 100644 --- a/sys/ntfs/ntfs_vfsops.c +++ b/sys/ntfs/ntfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntfs_vfsops.c,v 1.10 2005/10/10 15:55:07 pedro Exp $ */ +/* $OpenBSD: ntfs_vfsops.c,v 1.11 2006/04/19 11:55:55 pedro Exp $ */ /* $NetBSD: ntfs_vfsops.c,v 1.7 2003/04/24 07:50:19 christos Exp $ */ /*- @@ -220,11 +220,10 @@ ntfs_mountroot() return (error); } - simple_lock(&mountlist_slock); CIRCLEQ_INSERT_TAIL(&mountlist, mp, mnt_list); - simple_unlock(&mountlist_slock); (void)ntfs_statfs(mp, &mp->mnt_stat, p); vfs_unbusy(mp); + return (0); } -- cgit v1.2.3