kernel_optimize_test/fs/jbd2
Chengguang Xu 0d52154bb0 jbd2: fix potential double free
When failing from creating cache jbd2_inode_cache, we will destroy the
previously created cache jbd2_handle_cache twice.  This patch fixes
this by moving each cache initialization/destruction to its own
separate, individual function.

Signed-off-by: Chengguang Xu <cgxu519@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
2019-05-10 21:15:47 -04:00
..
checkpoint.c jbd2: remove repeated assignments in __jbd2_log_wait_for_space() 2019-04-06 18:14:17 -04:00
commit.c jbd2: fix invalid descriptor block checksum 2019-03-01 00:30:00 -05:00
journal.c jbd2: fix potential double free 2019-05-10 21:15:47 -04:00
Kconfig
Makefile
recovery.c jbd2: clarify bad journal block checksum message 2018-02-18 21:33:13 -05:00
revoke.c jbd2: fix potential double free 2019-05-10 21:15:47 -04:00
transaction.c jbd2: fix potential double free 2019-05-10 21:15:47 -04:00