diff options
author | Qu Wenruo <wqu@suse.com> | 2018-07-01 10:45:26 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-08-06 15:00:24 +0200 |
commit | 581e2c16a3b1239bd6170fbca1c15c733d6bd634 (patch) | |
tree | 500baadc2e32b4e3856e7bfb7074ffda8ed51254 /send-stream.h | |
parent | d4f19ad08475204baf3fd15b91bca25da7bef388 (diff) |
btrfs-progs: free-space-cache: Don't panic when free space cache is corrupted
In btrfs_add_free_space(), if the free space to be added is already
here, we trigger ASSERT() which is just another BUG_ON().
Let's remove such BUG_ON() at all.
Reported-by: Lewis Diamond <me@lewisdiamond.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'send-stream.h')
0 files changed, 0 insertions, 0 deletions