diff --git a/kernel/trunk/fs/fat32.inc b/kernel/trunk/fs/fat32.inc index 67a9b8f34d..b3e49f472d 100644 --- a/kernel/trunk/fs/fat32.inc +++ b/kernel/trunk/fs/fat32.inc @@ -2787,7 +2787,7 @@ fs_HdSetFileInfo: fs_HdDelete: cmp [fs_type], 1 jz ntfs_HdDelete - cmp [fs_type], 1 + cmp [fs_type], 2 jz ext2_HdDelete cmp [fs_type], 16 jz @f diff --git a/kernel/trunk/fs/iso9660.inc b/kernel/trunk/fs/iso9660.inc index fac5509b34..e63a3fc650 100644 --- a/kernel/trunk/fs/iso9660.inc +++ b/kernel/trunk/fs/iso9660.inc @@ -54,12 +54,14 @@ reserve_cd_channel: je .reserve_ok_2 sti call change_task - jmp .IDE_Channel_1 + jmp .IDE_Channel_2 .reserve_ok_1: mov [IDE_Channel_1],1 + sti ret .reserve_ok_2: mov [IDE_Channel_2],1 + sti ret free_cd_channel: