btrfs-progs: Add missing exit for parse_profile function
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Wed, 29 Jul 2015 02:28:17 +0000 (10:28 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 31 Aug 2015 17:25:11 +0000 (19:25 +0200)
commit6936aa4c4301478aac273059c73d79d557d7774a
tree9c66e67e9cdf402f5dd0daa9e8ab483ff6fc05d8
parentc78f3eea947cafe2a233cb10c3e151a6ea7f4729
btrfs-progs: Add missing exit for parse_profile function

In parse_profile() function, in error handling route, it output error
message but forgot to exit(1), causing even profile is not valid, it
will just fallback to single.

Reported-by: James Harvey <jamespharvey20@gmail.com>
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
mkfs.c