commit | e2907c1a6ae1842f9c1d5393bbe966c1ccfbc335 | [log] [tgz] |
---|---|---|
author | Lu Fengqi <lufq.fnst@cn.fujitsu.com> | Wed Oct 24 20:24:02 2018 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Dec 17 14:51:26 2018 +0100 |
tree | 3e71421186e5300a82000bf2b5abd486ef2fa9e2 | |
parent | 9f9b8e8d0ebe1af42ddd3c86e12569c53914a89d [diff] |
btrfs: extent-tree: Detect bytes_pinned underflow earlier Introduce a new wrapper update_bytes_pinned to replace open coded bytes_pinned modifiers. Now the underflows of space_info::bytes_pinned get detected and reported. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>