btrfs-progs: image: use on-stack path buffer in create_metadump
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:31 +0000 (13:47 +0100)
commit14eba913303fa5ea463a54ffadf9ddcd0b081832
tree0fa9e03a04dcddd81531d6f2bac4e5bc26d92bee
parent33f07b0d037ec0f83166cc42c264224ddbca0f18
btrfs-progs: image: use on-stack path buffer in create_metadump

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>
btrfs-image.c