btrfs-progs: for mixed group check opt before default raid profile is enforced
commite9ac73b441b1b05b57ce99be1aff02eac6929448
authorAnand Jain <Anand.Jain@oracle.com>
Fri, 15 Nov 2013 11:11:09 +0000 (15 19:11 +0800)
committerChris Mason <chris.mason@fusionio.com>
Fri, 15 Nov 2013 17:30:13 +0000 (15 12:30 -0500)
treecf2fea17873e5171dd54c6181ae0c2b63a05714f
parent9f0c53f574b242b0d5988db2972c8aac77ef35a9
btrfs-progs: for mixed group check opt before default raid profile is enforced

This fixes the regression introduced with the patch

    btrfs-progs: avoid write to the disk before sure to create fs

what happened with this patch is it missed the check to see if the
user has the option set before pushing the defaults.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
mkfs.c