commit | 43530c46cc55cf5a381e788276a93c83cbc95e46 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Wed Sep 03 21:35:36 2014 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Sep 17 13:38:36 2014 -0700 |
tree | ecce232a9383ebf44df78e5e677a1861acd3a4fc | |
parent | 5d778aaeb013bf819d00e33de7c673c04b5c4886 [diff] |
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>