]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: allow to resize in unsorted partition table
authorKarel Zak <kzak@redhat.com>
Wed, 19 Jul 2017 13:09:36 +0000 (15:09 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 19 Jul 2017 13:09:36 +0000 (15:09 +0200)
commit537b4db151085fadf357bd4e7242798b16daabcd
treeabb33789b0a90b129f21532d80eb39d4c08632ef
parent264ef9875a776bf9c422c83a9611c8df749af8e8
libfdisk: allow to resize in unsorted partition table

The current code assumes that partition offsets (starts) are sorted.
This is usual situation, but unsorted partition table is also valid...

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/partition.c