Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/thorpej_scsipi]: src/sys/ufs/ffs Sync /w trunk.
details: https://anonhg.NetBSD.org/src/rev/3d27404fc3b8
branches: thorpej_scsipi
changeset: 477301:3d27404fc3b8
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Oct 20 22:57:12 1999 +0000
description:
Sync /w trunk.
diffstat:
sys/ufs/ffs/ffs_vfsops.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 0084c5d74aba -r 3d27404fc3b8 sys/ufs/ffs/ffs_vfsops.c
--- a/sys/ufs/ffs/ffs_vfsops.c Wed Oct 20 22:53:31 1999 +0000
+++ b/sys/ufs/ffs/ffs_vfsops.c Wed Oct 20 22:57:12 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_vfsops.c,v 1.53 1999/10/16 23:53:29 wrstuden Exp $ */
+/* $NetBSD: ffs_vfsops.c,v 1.53.2.1 1999/10/20 22:57:12 thorpej Exp $ */
/*
* Copyright (c) 1989, 1991, 1993, 1994
@@ -692,7 +692,8 @@
fs->fs_clean = FS_ISCLEAN;
(void) ffs_sbupdate(ump, MNT_WAIT);
}
- ump->um_devvp->v_specflags &= ~SI_MOUNTEDON;
+ if (ump->um_devvp->v_type != VBAD)
+ ump->um_devvp->v_specflags &= ~SI_MOUNTEDON;
vn_lock(ump->um_devvp, LK_EXCLUSIVE | LK_RETRY);
error = VOP_CLOSE(ump->um_devvp, fs->fs_ronly ? FREAD : FREAD|FWRITE,
NOCRED, p);
Home |
Main Index |
Thread Index |
Old Index