commit | fe48a5c00f3c8087fc0a447caee2b5f9f97cf238 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Wed Sep 03 21:35:39 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Sep 17 13:38:40 2014 -0700 |
tree | a8d47049a474f3954575fe322236f305868355a8 | |
parent | 7cc8e58d53cd2295c3c1cee7b503bd1790ea4486 [diff] |
Btrfs: fix unprotected system chunk array insertion We didn't protect the system chunk array when we added a new system chunk into it, it would cause the array be corrupted if someone remove/add some system chunk into array at the same time. Fix it by chunk lock. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>