summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2018-03-15 04:22:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2018-03-15 04:22:17 +0000
commitc363d973e96e4e5e5d4fe38f0690d6fbc04f3fc8 (patch)
treed0666eebfbae4028a2c16f54fde94263852bab4e
parent1938877c1162c315a3353a9e6d58e44aea71ceb1 (diff)
"force dirty" printf's are no longer required when pushing filesystems
safely to disk. The subsystem seems to be working as intended! :)
-rw-r--r--sys/ufs/ext2fs/ext2fs_vfsops.c4
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_vfsops.c b/sys/ufs/ext2fs/ext2fs_vfsops.c
index 55cfacddb2e..94e6ecef289 100644
--- a/sys/ufs/ext2fs/ext2fs_vfsops.c
+++ b/sys/ufs/ext2fs/ext2fs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_vfsops.c,v 1.102 2018/02/10 05:24:23 deraadt Exp $ */
+/* $OpenBSD: ext2fs_vfsops.c,v 1.103 2018/03/15 04:22:15 deraadt Exp $ */
/* $NetBSD: ext2fs_vfsops.c,v 1.1 1997/06/11 09:34:07 bouyer Exp $ */
/*
@@ -798,8 +798,10 @@ ext2fs_sync(struct mount *mp, int waitfor, int stall,
#endif
} else {
fs->e2fs.e2fs_state = 0;
+#if 0
printf("%s force dirty (dangling %d inflight %d)\n",
mp->mnt_stat.f_mntonname, esa.nlink0, esa.inflight);
+#endif
}
}
if (fs->e2fs_fmod != 0) {
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index 874551b3ea3..96a6f284910 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_vfsops.c,v 1.172 2018/02/10 05:24:23 deraadt Exp $ */
+/* $OpenBSD: ffs_vfsops.c,v 1.173 2018/03/15 04:22:16 deraadt Exp $ */
/* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */
/*
@@ -1270,8 +1270,10 @@ ffs_sync(struct mount *mp, int waitfor, int stall, struct ucred *cred, struct pr
#endif
} else {
fs->fs_clean = 0;
+#if 0
printf("%s force dirty (dangling %d inflight %d)\n",
mp->mnt_stat.f_mntonname, fsa.nlink0, fsa.inflight);
+#endif
}
}
if (fs->fs_fmod != 0 && (error = ffs_sbupdate(ump, waitfor)) != 0)