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
..
2019-02-15 13:21:55 +08:00
2019-05-10 21:15:47 -04:00
2019-03-01 09:45:52 -05:00
2019-01-25 16:40:40 +01:00
2019-02-27 09:19:24 -05:00
2019-03-10 12:29:52 -07:00
2019-03-15 14:05:00 -07:00
2019-03-16 12:28:18 -07:00
2019-03-09 14:45:54 -08:00