summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2014-09-03 21:35:36 +0800
committerChris Mason <clm@fb.com>2014-09-17 13:38:36 -0700
commit43530c46cc55cf5a381e788276a93c83cbc95e46 (patch)
treeecce232a9383ebf44df78e5e677a1861acd3a4fc /fs/btrfs/tree-log.c
parent5d778aaeb013bf819d00e33de7c673c04b5c4886 (diff)
downloadop-kernel-dev-43530c46cc55cf5a381e788276a93c83cbc95e46.zip
op-kernel-dev-43530c46cc55cf5a381e788276a93c83cbc95e46.tar.gz
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 <miaox@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud