btrfs-progs: check: pass a template to add_extent_rec_nolookup
authorDavid Sterba <dsterba@suse.com>
Fri, 1 Apr 2016 13:47:01 +0000 (15:47 +0200)
committerDavid Sterba <dsterba@suse.com>
Wed, 11 May 2016 13:50:21 +0000 (15:50 +0200)
commita087884799c08b3ea7d8c2b59a6d93d181979ade
tree2d09ced9867efbb9579e323ba4a67fbdbee4fafa
parentb70aa412d77078c2afa3dd4dc40f47206062447d
btrfs-progs: check: pass a template to add_extent_rec_nolookup

Reduce number of parameters that just fill the extent_record from a
temporary template that's supposed to be zeroed and filled by the
callers.

Signed-off-by: David Sterba <dsterba@suse.com>
cmds-check.c