btrfs-progs: check: move more of space cache clearing to a helper
commitf03b293fdf18d257a68e4e55122064960fddbf11
authorDavid Sterba <dsterba@suse.com>
Wed, 30 Aug 2017 16:57:03 +0000 (30 18:57 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 8 Sep 2017 14:15:05 +0000 (8 16:15 +0200)
tree349abf1ea713d07fb8261a87151865d552cb44a7
parentaf3369ae316d1d8c51438f3293f1889c76a573da
btrfs-progs: check: move more of space cache clearing to a helper

Move the code out of main.

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