]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: check for collisions when create new label
authorKarel Zak <kzak@redhat.com>
Tue, 14 Feb 2017 12:07:54 +0000 (13:07 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 14 Feb 2017 12:07:54 +0000 (13:07 +0100)
commit37204dc60c048be91794e349fc41217aea7363b7
treeed290a88c6876a99cd3149d39781922e1ab99b3b
parentb192dd6943e5bb5d2a3773b2c9b06cbd4eb28258
libfdisk: check for collisions when create new label

We need to be sure that when create a new disklabel than the old label
will be removed.

Addresses: https://github.com/karelzak/util-linux/issues/410
Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/context.c
libfdisk/src/fdiskP.h
libfdisk/src/label.c
libfdisk/src/wipe.c