Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ntfs remove some staff not needed anymore after SOFTDEP ...
details: https://anonhg.NetBSD.org/src/rev/6850e1c60d4e
branches: trunk
changeset: 478369:6850e1c60d4e
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Mon Nov 15 19:38:14 1999 +0000
description:
remove some staff not needed anymore after SOFTDEP is merged;
also fixes bug introduced in previous commit - the check for VBAD device node
added in rev 1.20 was accidentaly run AFTER v_specinfo was touched,
making the check useless
diffstat:
sys/ntfs/ntfs_vfsops.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diffs (27 lines):
diff -r e0200ce0dacf -r 6850e1c60d4e sys/ntfs/ntfs_vfsops.c
--- a/sys/ntfs/ntfs_vfsops.c Mon Nov 15 19:23:20 1999 +0000
+++ b/sys/ntfs/ntfs_vfsops.c Mon Nov 15 19:38:14 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ntfs_vfsops.c,v 1.22 1999/11/15 18:49:12 fvdl Exp $ */
+/* $NetBSD: ntfs_vfsops.c,v 1.23 1999/11/15 19:38:14 jdolecek Exp $ */
/*-
* Copyright (c) 1998, 1999 Semen Ustimenko
@@ -657,17 +657,12 @@
if (error)
printf("ntfs_unmount: vflush failed(sysnodes): %d\n",error);
- ntmp->ntm_devvp->v_specmountpoint = NULL;
-#if defined(__FreeBSD__)
- ntmp->ntm_devvp->v_specmountpoint = NULL;
-#else
/* Check if the type of device node isn't VBAD before
* touching v_specinfo. If the device vnode is revoked, the
* field is NULL and touching it causes null pointer derefercence.
*/
if (ntmp->ntm_devvp->v_type != VBAD)
ntmp->ntm_devvp->v_specmountpoint = NULL;
-#endif
vinvalbuf(ntmp->ntm_devvp, V_SAVE, NOCRED, p, 0, 0);
Home |
Main Index |
Thread Index |
Old Index