btrfs-progs: check: use on-stack path buffer in repair_btree
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:32 +0000 (13:47 +0100)
commit4cf9b7e2a136135c7f23528864c88bb5adadb9d0
treefe1f9e5629e5e0ebe3316b6f85be1dfcaa88adf0
parent3640b6a6ef8585674a1fc97d40f427f942dae0c6
btrfs-progs: check: use on-stack path buffer in repair_btree

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