Re: [PATCH] gfs2: remove assertion when journal_info is not empty

From: Andreas Gruenbacher
Date: Sun Dec 15 2019 - 14:50:46 EST


Hello Aditya,

On Sun, Dec 15, 2019 at 5:46 PM Aditya Pakki <pakki001@xxxxxxx> wrote:
> In gfs2_trans_begin, avoid crashing when current->journal_info
> is not empty. The patch fixes the error by returning -EINVAL
> instead of crashing.

can you please explain when that patch is needed? Do you have a test
case to reproduce?

Thanks,
Andreas