aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorMiao Xie <[email protected]>2014-09-03 13:35:39 +0000
committerChris Mason <[email protected]>2014-09-17 20:38:40 +0000
commitfe48a5c00f3c8087fc0a447caee2b5f9f97cf238 (patch)
treea8d47049a474f3954575fe322236f305868355a8 /fs/btrfs/dev-replace.c
parentBtrfs: fix unprotected device's variants on 32bits machine (diff)
downloadkernel-fe48a5c00f3c8087fc0a447caee2b5f9f97cf238.tar.gz
kernel-fe48a5c00f3c8087fc0a447caee2b5f9f97cf238.zip
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 <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions