[ext2fs] re-enable the sparse_super feature

* Closes #1516
* Also prevent protective message from being written in MBR mode
This commit is contained in:
Pete Batard 2020-04-21 10:29:16 +01:00
parent 0e3658df1a
commit cf52f61b9c
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
3 changed files with 10 additions and 9 deletions

View file

@ -922,6 +922,9 @@ static BOOL WriteSBR(HANDLE hPhysicalDrive)
sub_type = BT_GRUB2;
} else if (partition_type == PARTITION_STYLE_GPT) {
sub_type = BT_NON_BOOTABLE;
} else {
// Needed to prevent protective message to be written for MBR mode
sub_type = BT_MAX;
}
switch (sub_type) {