commit | ed7a6948394305b810d0c6203268648715e5006f | [log] [tgz] |
---|---|---|
author | Wang Xiaoguang <wangxg.fnst@cn.fujitsu.com> | Fri Aug 26 11:33:14 2016 +0800 |
committer | David Sterba <dsterba@suse.com> | Mon Sep 05 17:40:41 2016 +0200 |
tree | 743a82e430a7662f4c9b90bd8fe112378db217a0 | |
parent | cb887083d084d74421ae7bb18acca40568da791f [diff] |
btrfs: do not decrease bytes_may_use when replaying extents When replaying extents, there is no need to update bytes_may_use in btrfs_alloc_logged_file_extent(), otherwise it'll trigger a WARN_ON about bytes_may_use. Fixes: ("btrfs: update btrfs_space_info's bytes_may_use timely") Signed-off-by: Wang Xiaoguang <wangxg.fnst@cn.fujitsu.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David Sterba <dsterba@suse.com>