aboutsummaryrefslogtreecommitdiff
path: root/sbin/fsck_ifs/main.c
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1994-08-21 08:47:10 +0000
committerDavid Greenman <dg@FreeBSD.org>1994-08-21 08:47:10 +0000
commit802cd8e6f011145297f9e544b4bd65e5a66f654b (patch)
tree07f485650c701e0a6ff5fbc8643da1f8a2731d68 /sbin/fsck_ifs/main.c
parent6b4c995bf92a63ab1582e73dd8f8c2369b80f82b (diff)
downloadsrc-802cd8e6f011145297f9e544b4bd65e5a66f654b.tar.gz
src-802cd8e6f011145297f9e544b4bd65e5a66f654b.zip
Better support for clean bit: prompt the user to fix it if it's wrong
when not preening, and indicate if it was fixed when preening.
Notes
Notes: svn path=/head/; revision=2179
Diffstat (limited to 'sbin/fsck_ifs/main.c')
-rw-r--r--sbin/fsck_ifs/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/fsck_ifs/main.c b/sbin/fsck_ifs/main.c
index f2dba1c83993..5ff6918a131e 100644
--- a/sbin/fsck_ifs/main.c
+++ b/sbin/fsck_ifs/main.c
@@ -285,8 +285,7 @@ checkfilesys(filesys, mntpt, auxdata, child)
duplist = (struct dups *)0;
muldup = (struct dups *)0;
inocleanup();
- if (fsmodified || (!sblock.fs_clean && preen && !nflag && !hotroot)) {
- sblock.fs_clean = 1;
+ if (fsmodified) {
(void)time(&sblock.fs_time);
sbdirty();
}