]> git.ozlabs.org Git - yaboot.git/commit
Fix partition file search
authorEthan Benson <erbenson@alaska.net>
Sun, 8 Sep 2002 00:13:58 +0000 (00:13 +0000)
committerEthan Benson <erbenson@alaska.net>
Sun, 8 Sep 2002 00:13:58 +0000 (00:13 +0000)
commitd0e5fbe697b5cf916bf70c1bae736c82cbbc876b
treee46ef007cd5d85fbb263b482e6db00224f2802c3
parente68362d01834e41a4a0e914c2bddbeabea56a1d6
Fix partition file search

* Change file_block_open() to check for FILE_OK rather then NULL
return from fs_open().  When no partition is specified in a file open
call yaboot will loop through all known partitions until the file is
found, or no more partitions are left.  In older versions fs_open()
would check for FILE_OK, so checking for NULL return from fs_open()
worked, in current versions fs_open() checks for BADFS so proper
errors can be reported.  This only really affects IBM CHRP.

git-archimport-id: erbenson@alaska.net--public/yaboot--devel--1.3--patch-28
ChangeLog
second/file.c