btrfs-progs: add list_sort and use it to sort devices by id
authorDavid Sterba <dsterba@suse.cz>
Tue, 17 Sep 2013 15:24:53 +0000 (17:24 +0200)
committerChris Mason <chris.mason@fusionio.com>
Wed, 16 Oct 2013 12:22:26 +0000 (08:22 -0400)
commit4e466c8b440afd09a8bf600bcf18469c3e7539cd
tree9f7f063ae99962568becb47fc56f360a2226e6e8
parente9270f62090c2312bccb340e4394bc216733edac
btrfs-progs: add list_sort and use it to sort devices by id

The devices in 'btrfs filesystem show' are now sorted by the device id,
currently the order was undefined.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Makefile
cmds-filesystem.c
list_sort.c [new file with mode: 0644]
list_sort.h [new file with mode: 0644]