On Fri, Sep 22, 2017 at 12:11:18PM -0600, Liu Bo wrote: > The local bio_list may have pending bios when doing cleanup, it can > end up with memory leak if they don't get free'd.
I was wondering if we could make a common helper that would call rbio_orig_end_io and while (..) put_bio(), but __raid56_parity_recover does not fit the pattern. Still might be worth, but the patch is ok as is. Reviewed-by: David Sterba <dste...@suse.com> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html