diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-05-14 14:13:28 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-06-07 16:37:39 +0200 |
commit | 572637b6f95cd9dd7be658ea2d18718d04c4ac17 (patch) | |
tree | e214b91a2d04252844bae568c0279b9cefc611b9 /random-test.c | |
parent | 04be0e4b19627e9e4d7295d89c58ca08f6a04f9f (diff) |
btrfs-progs: corrupt-block: Factor out key parsing function
Currently passing a key with -K handling is open coded. I intend on
changing the interface a bit to make the program more usable. To aid
in this factor out common code which parses a triplet of the
"u64,u8,u64" format, corresponding to a btrfs key. No functional
changes.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
[ print optarg too ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'random-test.c')
0 files changed, 0 insertions, 0 deletions