btrfs-progs: mkfs: use existing helper for path concatenation
authorDavid Sterba <dsterba@suse.com>
Fri, 29 Sep 2017 13:23:35 +0000 (15:23 +0200)
committerDavid Sterba <dsterba@suse.com>
Fri, 6 Oct 2017 11:23:44 +0000 (13:23 +0200)
commitd07e349800b8a100e049465666b2382613281a8c
tree2c47c6a59e9bec29e7b8bf0d2cdf56956ba994cb
parentfe667f6e7d0a3215bf671bfd70b0eb18d6e9c1a6
btrfs-progs: mkfs: use existing helper for path concatenation

Mkfs uses make_path that is duplicate of path_cat* functions, so we can
switch to them and add the error handling.

Signed-off-by: David Sterba <dsterba@suse.com>
mkfs/main.c