summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorWang Xiaoguang <wangxg.fnst@cn.fujitsu.com>2016-08-26 11:33:14 +0800
committerDavid Sterba <dsterba@suse.com>2016-09-05 17:40:41 +0200
commited7a6948394305b810d0c6203268648715e5006f (patch)
tree743a82e430a7662f4c9b90bd8fe112378db217a0 /net
parentcb887083d084d74421ae7bb18acca40568da791f (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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions