Be sure to store the updated reserved_sector count in the boot sector,

see Debian bug #567337.

Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
This commit is contained in:
Daniel Kahn Gillmor 2010-01-31 00:11:41 -05:00 committed by Daniel Baumann
parent 2a3bef84fb
commit 33bca7d6b5

View File

@ -1059,6 +1059,7 @@ setup_tables (void)
/* Adjust the reserved number of sectors for alignment */ /* Adjust the reserved number of sectors for alignment */
reserved_sectors = align_object(reserved_sectors, bs.cluster_size); reserved_sectors = align_object(reserved_sectors, bs.cluster_size);
bs.reserved = CT_LE_W(reserved_sectors);
/* Adjust the number of root directory entries to help enforce alignment */ /* Adjust the number of root directory entries to help enforce alignment */
if (align_structures) { if (align_structures) {