btrfs-progs: check: use on-stack path buffer in fill_csum_tree_from_fs
authorDavid Sterba <dsterba@suse.com>
Wed, 2 Nov 2016 23:37:51 +0000 (00:37 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 9 Nov 2016 12:47:33 +0000 (13:47 +0100)
commit02ca1e8a0f93f64edbebd9ca43877fd139f25982
tree73a22bb38bcf4e88d6601d6cd6b3333e0b86e358
parentc050db55e2ce76d40b025ca0ef4e88d9f8041dc5
btrfs-progs: check: use on-stack path buffer in fill_csum_tree_from_fs

We don't need to conserve stack space too much unlike kernel, also
remove one error condition.

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