Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ffs Rework previous so that FS_FLAGS_UPDATED is only...
details: https://anonhg.NetBSD.org/src/rev/118046959fb0
branches: trunk
changeset: 560012:118046959fb0
user: dsl <dsl%NetBSD.org@localhost>
date: Sat Mar 27 12:40:46 2004 +0000
description:
Rework previous so that FS_FLAGS_UPDATED is only looked at for ffsv1
diffstat:
sys/ufs/ffs/ffs_vfsops.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 5868fc3c3f2f -r 118046959fb0 sys/ufs/ffs/ffs_vfsops.c
--- a/sys/ufs/ffs/ffs_vfsops.c Sat Mar 27 12:31:06 2004 +0000
+++ b/sys/ufs/ffs/ffs_vfsops.c Sat Mar 27 12:40:46 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_vfsops.c,v 1.139 2004/03/24 15:34:55 atatat Exp $ */
+/* $NetBSD: ffs_vfsops.c,v 1.140 2004/03/27 12:40:46 dsl Exp $ */
/*
* Copyright (c) 1989, 1991, 1993, 1994
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.139 2004/03/24 15:34:55 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_vfsops.c,v 1.140 2004/03/27 12:40:46 dsl Exp $");
#if defined(_KERNEL_OPT)
#include "opt_ffs.h"
@@ -751,8 +751,8 @@
/* fs->fs_sblockloc isn't defined for old filesystems */
- if (!(fs->fs_old_flags & FS_FLAGS_UPDATED)) {
- if (fstype == UFS1 && sblockloc == SBLOCK_UFS2)
+ if (fstype == UFS1 && !(fs->fs_old_flags & FS_FLAGS_UPDATED)) {
+ if (sblockloc == SBLOCK_UFS2)
/*
* This is likely to be the first alternate
* in a filesystem with 64k blocks.
Home |
Main Index |
Thread Index |
Old Index