commit | 69611ac810af8e88eeb5ebd851589a0e8cc90860 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Thu Jul 03 18:22:12 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Tue Aug 19 08:36:32 2014 -0700 |
tree | 9e9a65f19117286e8e8d2778e325603a8c43fdbf | |
parent | 77bdae4d136e167bab028cbec58b988f91cf73c0 [diff] |
Btrfs: fix unzeroed members in fs_devices when creating a fs from seed fs We forgot to zero some members in fs_devices when we create new fs_devices from the one of the seed fs. It would cause the problem that we got wrong chunk profile when allocating chunks. Fix it. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>