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 committed 2000-12-05 15:02:10 +00:00
1 parent 8eff936f97
commit 8fe3b6de83
2 files changed
+8 -2

No files matched your search

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