commit | d01b3f4172d368eed8e56ab974e6028ce0710591 | [log] [download] |
---|---|---|
author | Anton Blanchard <anton@samba.org> | Thu Jul 08 19:03:36 2010 +0000 |
committer | Tony Breeds <tony@bakeyournoodle.com> | Fri Jul 16 15:51:57 2010 +1000 |
tree | b265ddb4c27fc1b1cce3f98be41c61dd8f27d967 | |
parent | f9631a4c18c659a6144a697e0c629fe63a44970f [diff] |
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>