]> git.ozlabs.org Git - petitboot/commitdiff
discover: Always associate resources with a boot option
authorJeremy Kerr <jk@ozlabs.org>
Mon, 13 May 2013 01:16:00 +0000 (09:16 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 15 May 2013 06:38:04 +0000 (14:38 +0800)
We should always be tallocing resources to a boot option context;
anything else (for example, the discover context) may have a different
lifetime.

In order to enforce this, we change the void *ctx argument to the
context_create functions to a struct discover_boot_option.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

No differences found