]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: move the missing device to its own fs device list
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 3 Sep 2014 13:35:46 +0000 (21:35 +0800)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:38:48 +0000 (13:38 -0700)
commit30ca3ded23291ab2035d122aaceeff22a81d0cc3
treebaaaa36a42866954e767b5a2ecc76e18e2c9c572
parent04e586becb8c7d6b5413b625285741b89864e7e6
Btrfs: move the missing device to its own fs device list

For a missing device, we don't know it belong to which fs before we read its
fsid from the chunk tree. So we add them into the current fs device list at first.
When we get its fsid, we should move them to their own fs device list.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/volumes.c