On Thu, Sep 12, 2019 at 7:59 PM Bob Peterson <rpete...@redhat.com> wrote:
> Hi,
>
> In function sweep_bh_for_rgrps, which is a helper for punch_hole,
> it uses variable buf_in_tr to keep track of when it needs to commit
> pending block frees on a partial delete that overflows the
> transaction created for the delete. The problem is that the
> variable was initialized at the start of function sweep_bh_for_rgrps
> but it was never cleared, even when starting a new transaction.
>
> This patch reinitializes the variable when the transaction is
> ended, so the next transaction starts out with it cleared.
>
> Signed-off-by: Bob Peterson <rpete...@redhat.com>

I've put this onto for-next for the current merge window.

Thanks,
Andreas

Reply via email to