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)
commitc9a806b050bec45d91439b6d1aa03b59c476cfb6
tree904d501154e990de6ee27a4abc6cf88212e83b0d
parent9a83909ef3d17b0ea205d32b6aa07ac6bea7260c
Do not of_open() LINUX_NATIVE partitions.

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>
second/fs_of.c