]> git.ozlabs.org Git - yaboot.git/commit
Use ino_size if available
authorAnton Blanchard <anton@samba.org>
Thu, 8 Jul 2010 19:03:36 +0000 (19:03 +0000)
committerTony Breeds <tony@bakeyournoodle.com>
Fri, 16 Jul 2010 05:51:57 +0000 (15:51 +1000)
commitd01b3f4172d368eed8e56ab974e6028ce0710591
treeb265ddb4c27fc1b1cce3f98be41c61dd8f27d967
parentf9631a4c18c659a6144a697e0c629fe63a44970f
Use ino_size if available

If ino_size is available and returns > 0, then use it to allocate
the initrd. This allows us to claim it in one chunk and avoid
all the issues around requiring back to back claims to be
contiguous.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
second/yaboot.c