Corrected the check for IS_PC_SLICE_TYPE_MINIX; minix was only working

if slice type was wrong! Reported by Ralf Medow <ralf.medow@t-online.de>.
This commit is contained in:
jochen 2000-12-05 15:02:10 +00:00
parent 8eff936f97
commit 8fe3b6de83
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2000-12-05 Jochen Hoenicke <jochen@gnu.org>
* stage2/fsys_minix.c (minix_mount): Corrected the check for
IS_PC_SLICE_TYPE_MINIX; minix was only working if slice type was
wrong! Reported by Ralf Medow <ralf.medow@t-online.de>.
2000-11-27 Jochen Hoenicke <jochen@gnu.org> 2000-11-27 Jochen Hoenicke <jochen@gnu.org>
* stage2/fsys_reiserfs.c: Handle items with old version key on * stage2/fsys_reiserfs.c: Handle items with old version key on

View file

@ -160,8 +160,8 @@ struct minix_dir_entry {
int int
minix_mount (void) minix_mount (void)
{ {
if (((current_drive & 0x80 || current_slice != 0)) if (((current_drive & 0x80) || current_slice != 0)
&& IS_PC_SLICE_TYPE_MINIX (current_slice) && ! IS_PC_SLICE_TYPE_MINIX (current_slice)
&& ! IS_PC_SLICE_TYPE_BSD_WITH_FS (current_slice, FS_OTHER)) && ! IS_PC_SLICE_TYPE_BSD_WITH_FS (current_slice, FS_OTHER))
return 0; /* The partition is not of MINIX type */ return 0; /* The partition is not of MINIX type */