btrfs-progs: Remove recover_get_good_super
authorNikolay Borisov <nborisov@suse.com>
Tue, 5 Dec 2017 08:39:45 +0000 (10:39 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 31 Jan 2018 14:14:01 +0000 (15:14 +0100)
commit90a00b3c79584eee7c282623c39ec88d3662be25
tree56679929748ef8634640a38559c2819fe44bd991
parent6eccbe81f1baf11e00d55bdf86827c632de4cc5f
btrfs-progs: Remove recover_get_good_super

Currently getting the good super really consists of just getting the
first entry on the linked list, since it's the one with the highest
transid. So remove the function and just use list_first_entry directly.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
super-recover.c