btrfs-progs: check: refactor add_extent_rec, separate lookup
authorDavid Sterba <dsterba@suse.com>
Fri, 1 Apr 2016 12:42:42 +0000 (14:42 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 2 May 2016 12:41:27 +0000 (14:41 +0200)
commite1a5ecc206121b48b62150b94faf36d9362d675b
tree4e9271a712134285807a918973f3078edb27977c
parente83012d57e2682085bb35a14ad5817dbf676132d
btrfs-progs: check: refactor add_extent_rec, separate lookup

Separate the part of add_extent_rec that comes after the lookup does not
succeed, there are callers interested in just this.

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