[parted-devel] [PATCH] Ignore devices where we can't create a new PedDisk

Otavio Salvador otavio at debian.org
Tue Jul 31 18:35:31 UTC 2007


David Cantrell <dcantrell at redhat.com> writes:

> Patch for stable.

Ack but the shortlog could be shorter ;-)

> -- 
> David Cantrell <dcantrell at redhat.com>
> Red Hat / Westford, MA
>
> From 865ea3d3f2eb7918b64a00825dfa44e05651e2ad Mon Sep 17 00:00:00 2001
> From: David Cantrell <dcantrel at mortise.boston.redhat.com>
> Date: Tue, 31 Jul 2007 13:59:27 -0400
> Subject: [PATCH] If we cannot create a new PedDisk for the device we're looking at, return NULL rather than the device path.

Maybe: ped_device_get needs to return NULL if ped_disk_new fails
?

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: otavio at debian.org      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."



More information about the parted-devel mailing list