]> git.ozlabs.org Git - petitboot/commit
discover: Allow devices with no device_path
authorJeremy Kerr <jk@ozlabs.org>
Mon, 13 May 2013 02:08:47 +0000 (10:08 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 15 May 2013 06:50:25 +0000 (14:50 +0800)
commit198c4e575e177ae5458238e7b474361506a6f302
treeda03f94a8decd442f1853dda8558fa10695dee5a
parent1b50985db4e85030de3567792aedc13aa26e0fea
discover: Allow devices with no device_path

Devices that have been added via the user path may not have a device
path. In this case, don't segfault in device_match_path, and break out
of mount_device early.

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