diff options
| author | Miao Xie <[email protected]> | 2014-09-03 13:35:36 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2014-09-17 20:38:36 +0000 |
| commit | 43530c46cc55cf5a381e788276a93c83cbc95e46 (patch) | |
| tree | ecce232a9383ebf44df78e5e677a1861acd3a4fc /fs/btrfs/dev-replace.c | |
| parent | Btrfs: Fix wrong free_chunk_space assignment during removing a device (diff) | |
| download | kernel-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
