]> git.ozlabs.org Git - yaboot.git/commitdiff
Do not of_open() LINUX_NATIVE partitions.
authorTony Breeds <tony@bakeyournoodle.com>
Thu, 22 Oct 2009 05:20:47 +0000 (16:20 +1100)
committerTony Breeds <tony@bakeyournoodle.com>
Thu, 22 Oct 2009 05:20:47 +0000 (16:20 +1100)
If for some reason a partition is LINUX_NATIVE but is not handled by one
of the existing filesystem drivers, of_open() /may/ appear to succeed,
but infact the ihandle is garbage.

Make sure we skip LINUX_NATIVE partitions.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>

No differences found