aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorMiao Xie <[email protected]>2014-09-03 13:35:36 +0000
committerChris Mason <[email protected]>2014-09-17 20:38:36 +0000
commit43530c46cc55cf5a381e788276a93c83cbc95e46 (patch)
treeecce232a9383ebf44df78e5e677a1861acd3a4fc /fs/btrfs/dev-replace.c
parentBtrfs: Fix wrong free_chunk_space assignment during removing a device (diff)
downloadkernel-43530c46cc55cf5a381e788276a93c83cbc95e46.tar.gz
kernel-43530c46cc55cf5a381e788276a93c83cbc95e46.zip
Btrfs: fix unprotected device->bytes_used update
We should update device->bytes_used in the lock context of chunk_mutex, or we would get wrong data. 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