diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-04-19 11:55:56 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-04-19 11:55:56 +0000 |
commit | cc29e9cd03bbae7b4208a429f2b19cec76c97cda (patch) | |
tree | 7838b983f5eccae84ca029e608a7a433f9d22aa0 /sys/ntfs | |
parent | 9a844318226ccb44fc573779b6ee31f5af4e966e (diff) |
Remove unused mount list simple_lock() goo
Diffstat (limited to 'sys/ntfs')
-rw-r--r-- | sys/ntfs/ntfs_vfsops.c | 5 |
1 files changed, 2 insertions, 3 deletions
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); } |