diff options
author | Karel Zak | 2014-04-18 13:26:08 +0200 |
---|---|---|
committer | Karel Zak | 2014-04-18 13:26:08 +0200 |
commit | dd7ba604631ce57f194f56dfb71414e42d914a21 (patch) | |
tree | 180cd564eb416092521b48da0c06c24e2a6e8de4 /libfdisk/src/dos.c | |
parent | nsenter: add + to getopt_long() (diff) | |
download | kernel-qcow2-util-linux-dd7ba604631ce57f194f56dfb71414e42d914a21.tar.gz kernel-qcow2-util-linux-dd7ba604631ce57f194f56dfb71414e42d914a21.tar.xz kernel-qcow2-util-linux-dd7ba604631ce57f194f56dfb71414e42d914a21.zip |
libfdisk: add partitions reorder operation to label API
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/dos.c')
-rw-r--r-- | libfdisk/src/dos.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c index b68765bb1..645410cbd 100644 --- a/libfdisk/src/dos.c +++ b/libfdisk/src/dos.c @@ -1803,7 +1803,7 @@ again: DBG(LABEL, print_chain_of_logicals(cxt)); } -int fdisk_dos_fix_order(struct fdisk_context *cxt) +static int dos_reorder(struct fdisk_context *cxt) { struct pte *pei, *pek; size_t i,k; @@ -1990,6 +1990,7 @@ static const struct fdisk_label_operations dos_operations = .create = dos_create_disklabel, .locate = dos_locate_disklabel, .list = dos_list_disklabel, + .reorder = dos_reorder, .get_id = dos_get_disklabel_id, .set_id = dos_set_disklabel_id, |