Josef Bacik b39c8f5a39 btrfs: fix ref-verify to catch operations on 0 ref extents
While debugging I noticed I wasn't getting ref verify errors before
everything blew up.  Turns out it's because we don't warn when we try to
add a normal ref via btrfs_inc_ref() if the block entry exists but has 0
references.  This is incorrect, we should never be doing anything other
than adding a new extent once a block entry drops to 0 references.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2020-03-23 17:01:56 +01:00
..
2020-01-20 16:41:00 +01:00
2019-11-18 23:43:44 +01:00
2020-03-23 17:01:43 +01:00
2020-03-23 17:01:43 +01:00
2020-01-20 16:40:55 +01:00
2019-11-18 17:51:51 +01:00