btrfs: fix delayed ref refcount leak in debug assertion
If the delayed_root is not empty we are increasing the number of references to a delayed_node without decreasing it, causing a leak. Fix by decrementing the delayed_node reference count. Reviewed-by:Filipe Manana <fdmanana@suse.com> Signed-off-by:
Leo Martins <loemra.dev@gmail.com> Reviewed-by:
Qu Wenruo <wqu@suse.com> [ Remove the changelog from the commit message. ] Signed-off-by:
Qu Wenruo <wqu@suse.com> Signed-off-by:
David Sterba <dsterba@suse.com>
Loading
Please sign in to comment