iso9660: Fix Forth return value for iso9660_files_open()
commitc3ec8c31d60f454b91b8eb18b9c5e052d9fed184
authorblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Tue, 28 Sep 2010 18:59:41 +0000 (28 18:59 +0000)
committerblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Tue, 28 Sep 2010 18:59:41 +0000 (28 18:59 +0000)
tree8ff809d01d0c4e6993e7df2af06445f078594555
parent98fe5bd02db3726e781b618989447c67b13a7993
iso9660: Fix Forth return value for iso9660_files_open()

There's a mixup of 0 and -1. Don't return failure if iso9660_open() succeeded. Don't return success in case
iso9660_open() or iso9660_mount() failed.

This resolves both a hang when trying to boot cd:,\\:tbxi and failure to boot either cd:,\ppc\bootinfo.txt
or cd:,\ppc\chrp\bootfile.exe despite present on the AIX 6.1 disk.

Cc: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@864 f158a5a8-5612-0410-a976-696ce0be7e32
fs/iso9660/iso9660_fs.c