[parted-devel] [PATCH 2/4] libparted: remove extraneous blkpg add partition ped exception

Phillip Susi psusi at ubuntu.com
Wed Jan 11 18:42:27 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/11/2012 1:37 PM, Jim Meyering wrote:
> Phillip Susi wrote:
>> _blkpg_add_partition was throwing an exception if it failed to
>> add the new partition, in addition to _disk_sync_part_table
>> throwing one, and then bailing out.  Instead of bailing out, just
>> log the error for reporting later and continue.
> 
> Thanks for the patch. Would you please at least outline a test case
> for this?

I can't actually imagine a scenario where it would happen.  It should
take a rather exotic error like ENOMEM or something; nothing that is
likely to happen in practice.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPDdgTAAoJEJrBOlT6nu75Yn4IALWFigQefV4vpL6OmKrR5+XE
PPe9n6rj37QMAPNnHJ8evSlSBZMp5rIRlXpz0fkkK0bA7UulZgz8rc2molDnqhBj
Ic2THkiVJNs3wl3eNCyR3EFJnPhIkKaoX/A2wZLANOCRC6Vs7SQnTZ5et9F8SU9C
sDOFdN4z2IP7Kmw8LAoa8sP0+w7AS4m3dxtyYgtFiqUSrD3BRyJYDqwuA19/01+4
8Pw3Ak+d3Y+8thb/LyJazN4JRXk0BWMFx5+YpEljE2ld3MPVN+snw2oNRPNKi6IZ
QeAnMBce8vK6+HrdUKE7oG8dWGuESywwPCCRCc6apAIGlHV1vUV87AqmEU09YeA=
=Fko0
-----END PGP SIGNATURE-----



More information about the parted-devel mailing list