]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix wrong max device number for single profile
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 16 Jan 2013 11:27:17 +0000 (11:27 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Thu, 24 Jan 2013 17:51:26 +0000 (12:51 -0500)
commit0f96baff8f295eb7bfb4e9e1af28c60e04d68fe1
tree2f1ea0f913073f64b6b16c001b50dfe763a6162d
parent28d96cec3e76af049fec3c30a3846f4a470c5053
Btrfs: fix wrong max device number for single profile

The max device number of single profile is 1, not 0 (0 means 'as many as
possible'). Fix it.

Cc: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/volumes.c