btrfs-progs: corrupt-block: Convert -K flag argument handling to common function
commitf7a27396cf01411fe803e414061fbc08f0a6227f
authorNikolay Borisov <nborisov@suse.com>
Mon, 14 May 2018 11:13:30 +0000 (14 14:13 +0300)
committerDavid Sterba <dsterba@suse.com>
Thu, 7 Jun 2018 14:37:39 +0000 (7 16:37 +0200)
treea40b73bf78445b1862ad51bfbdc1cf6303103df9
parent3fa8b8ca4589967fd0187509f4df8862ad2246ad
btrfs-progs: corrupt-block: Convert -K flag argument handling to common function

There is now a common function used to parse btrfs keys triplets so
use that one. No functional changes.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
btrfs-corrupt-block.c