Page MenuHomeFreeBSD

D29021.diff
No OneTemporary

D29021.diff

diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c
--- a/sbin/growfs/growfs.c
+++ b/sbin/growfs/growfs.c
@@ -1461,10 +1461,9 @@
}
}
/*
- * Check for unclean filesystem.
+ * Check for filesystem that was unclean at mount time.
*/
- if (fs->fs_clean == 0 ||
- (fs->fs_flags & (FS_UNCLEAN | FS_NEEDSFSCK)) != 0)
+ if ((fs->fs_flags & (FS_UNCLEAN | FS_NEEDSFSCK)) != 0)
errx(1, "%s is not clean - run fsck.\n", *argv);
memcpy(&osblock, fs, fs->fs_sbsize);
free(fs);

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 2, 9:55 AM (18 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34592830
Default Alt Text
D29021.diff (492 B)

Event Timeline