Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/fs/v7fs remove partition check from v7fs_mount. problem ...
details: https://anonhg.NetBSD.org/src/rev/2763843d1d39
branches: trunk
changeset: 767572:2763843d1d39
user: uch <uch%NetBSD.org@localhost>
date: Sat Jul 23 05:10:30 2011 +0000
description:
remove partition check from v7fs_mount. problem on rump implementation.
diffstat:
sys/fs/v7fs/v7fs_vfsops.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
diffs (34 lines):
diff -r d83b6093bb03 -r 2763843d1d39 sys/fs/v7fs/v7fs_vfsops.c
--- a/sys/fs/v7fs/v7fs_vfsops.c Sat Jul 23 03:10:11 2011 +0000
+++ b/sys/fs/v7fs/v7fs_vfsops.c Sat Jul 23 05:10:30 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: v7fs_vfsops.c,v 1.2 2011/07/02 01:05:38 uch Exp $ */
+/* $NetBSD: v7fs_vfsops.c,v 1.3 2011/07/23 05:10:30 uch Exp $ */
/*-
* Copyright (c) 2004, 2011 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: v7fs_vfsops.c,v 1.2 2011/07/02 01:05:38 uch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: v7fs_vfsops.c,v 1.3 2011/07/23 05:10:30 uch Exp $");
#if defined _KERNEL_OPT
#include "opt_v7fs.h"
#endif
@@ -223,15 +223,8 @@
goto unlock_exit;
}
- /* Get partition information */
- if ((error = is_v7fs_partition(devvp))) {
- goto close_exit;
- }
-
return 0; /* lock held */
-close_exit:
- VOP_CLOSE(devvp, oflags, NOCRED);
unlock_exit:
VOP_UNLOCK(devvp);
Home |
Main Index |
Thread Index |
Old Index