Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/gehenna-devsw]: src/sys/kern Don't access the # of block device switches.
details: https://anonhg.NetBSD.org/src/rev/6fd4f44b3d4d
branches: gehenna-devsw
changeset: 527042:6fd4f44b3d4d
user: gehenna <gehenna%NetBSD.org@localhost>
date: Thu May 16 04:13:51 2002 +0000
description:
Don't access the # of block device switches.
diffstat:
sys/kern/vfs_subr.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 8f2a902b4cd4 -r 6fd4f44b3d4d sys/kern/vfs_subr.c
--- a/sys/kern/vfs_subr.c Thu May 16 04:12:25 2002 +0000
+++ b/sys/kern/vfs_subr.c Thu May 16 04:13:51 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_subr.c,v 1.173 2002/04/04 01:44:30 thorpej Exp $ */
+/* $NetBSD: vfs_subr.c,v 1.173.2.1 2002/05/16 04:13:51 gehenna Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -82,7 +82,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.173 2002/04/04 01:44:30 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_subr.c,v 1.173.2.1 2002/05/16 04:13:51 gehenna Exp $");
#include "opt_ddb.h"
#include "opt_compat_netbsd.h"
@@ -331,11 +331,11 @@
simple_lock(&mntid_slock);
mtype = makefstype(mp->mnt_op->vfs_name);
- mp->mnt_stat.f_fsid.val[0] = makedev(nblkdev + mtype, 0);
+ mp->mnt_stat.f_fsid.val[0] = makedev(mtype, 0);
mp->mnt_stat.f_fsid.val[1] = mtype;
if (xxxfs_mntid == 0)
++xxxfs_mntid;
- tfsid.val[0] = makedev((nblkdev + mtype) & 0xff, xxxfs_mntid);
+ tfsid.val[0] = makedev(mtype & 0xff, xxxfs_mntid);
tfsid.val[1] = mtype;
if (mountlist.cqh_first != (void *)&mountlist) {
while (vfs_getvfs(&tfsid)) {
Home |
Main Index |
Thread Index |
Old Index