Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161186575
D29021.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
492 B
Referenced Files
None
Subscribers
None
D29021.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D29021: growfs: allow operation on RW-mounted filesystems
Attached
Detach File
Event Timeline
Log In to Comment