]> git.ozlabs.org Git - petitboot/commit
discover/boot: talloc struct boot_task
authorJeremy Kerr <jk@ozlabs.org>
Tue, 13 Aug 2013 03:23:57 +0000 (11:23 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Mon, 19 Aug 2013 05:27:59 +0000 (13:27 +0800)
commitb9c9da2c9fa23040870dff975a3ccd2beda6b297
tree350b857577bfde2fa400cdb23eb301a629b8acc9
parente12710c40ea278209c03d8351936f32964ad5c18
discover/boot: talloc struct boot_task

Rather than using the stack for struct boot_task, talloc one instead.
This gives us a short-lived context (active for the boot() process
only), and we don't need to use the externally-provided context
directly.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/boot.c