Btrfs: fix unzeroed members in fs_devices when creating a fs from seed fs
authorMiao Xie <miaox@cn.fujitsu.com>
Thu, 3 Jul 2014 10:22:12 +0000 (18:22 +0800)
committerChris Mason <clm@fb.com>
Tue, 19 Aug 2014 15:36:32 +0000 (08:36 -0700)
commit69611ac810af8e88eeb5ebd851589a0e8cc90860
tree9e9a65f19117286e8e8d2778e325603a8c43fdbf
parent77bdae4d136e167bab028cbec58b988f91cf73c0
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>
fs/btrfs/volumes.c
This page took 0.025101 seconds and 5 git commands to generate.