Re: [PATCH v2] jbd2: fix potential double free
From: Theodore Ts'o
Date: Sat May 11 2019 - 13:21:34 EST
On Fri, May 10, 2019 at 06:36:48PM +0800, Chengguang Xu wrote:
> When fail from creating cache jbd2_inode_cache, we will
> destroy previously created cache jbd2_handle_cache twice.
> This patch fixes it by sperating each cache
> initialization/destruction to individual function.
>
> Signed-off-by: Chengguang Xu <cgxu519@xxxxxxxxx>
Thanks, applied.
- Ted