Page MenuHomeFreeBSD

Properly update FSInfo block after generation.

Authored by delphij on Aug 22 2019, 6:04 AM.



After populating the filesystem, write a FSInfo block with
proper information.

Test Plan

Generate a FAT32 image and run fsck_msdosfs on it.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

delphij created this revision.Aug 22 2019, 6:04 AM
emaste accepted this revision.Aug 22 2019, 12:57 PM

Would you add msdosfs_fsiflush after msdosfs_mount, matching the order in sys/fs/msdosfs/msdosfs_vfsops.c? It'll be a small help in future efforts to deduplicate these.

This revision is now accepted and ready to land.Aug 22 2019, 12:57 PM
cem accepted this revision.Aug 22 2019, 3:13 PM
This revision was automatically updated to reflect the committed changes.