diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2014-09-03 21:35:36 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-09-17 13:38:36 -0700 |
commit | 43530c46cc55cf5a381e788276a93c83cbc95e46 (patch) | |
tree | ecce232a9383ebf44df78e5e677a1861acd3a4fc /fs/coredump.c | |
parent | 5d778aaeb013bf819d00e33de7c673c04b5c4886 (diff) | |
download | op-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/coredump.c')
0 files changed, 0 insertions, 0 deletions