Devids are printed in descending order now, switch it to ascending.
Signed-off-by: David Sterba <dsterba@suse.cz>
---
btrfs-show.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/btrfs-show.c b/btrfs-show.c
index 8210fd2..2a85932 100644
--- a/btrfs-show.c
+++ b/btrfs-show.c
@@ -77,7 +77,7 @@ static void print_one_uuid(struct btrfs_fs_devices
*fs_devices)
free(super_bytes_used);
- list_for_each(cur, &fs_devices->devices) {
+ list_for_each_prev(cur, &fs_devices->devices) {
char *total_bytes;
char *bytes_used;
device = list_entry(cur, struct btrfs_device, dev_list);
--
1.7.6.233.gd79bc
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs"
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html