Eric Biggers
b176a6eed3
jbd2: don't leak memory if setting up journal fails
...
commit cd9cb405e0b948363811dc74dbb2890f56f2cb87 upstream.
In journal_init_common(), if we failed to allocate the j_wbuf array, or
if we failed to create the buffer_head for the journal superblock, we
leaked the memory allocated for the revocation tables. Fix this.
Fixes: f0c9fd5458bacf7b12a9a579a727dc740cbe047e
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-30 09:41:27 +02:00
..
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2017-03-15 10:02:44 +08:00
2017-03-15 10:02:44 +08:00
2016-10-15 12:09:13 -07:00
2016-10-10 23:02:51 -04:00
2017-02-14 15:25:40 -08:00
2016-10-10 20:16:43 -07:00
2017-03-15 10:02:45 +08:00
2017-03-15 10:02:44 +08:00
2016-10-10 20:16:43 -07:00
2016-10-10 23:02:51 -04:00
2017-01-12 11:39:06 +01:00
2017-03-15 10:02:44 +08:00
2016-10-10 20:16:43 -07:00
2016-10-10 09:54:00 -05:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2016-10-27 18:43:43 -07:00
2016-10-06 09:07:44 -04:00
2016-10-18 11:29:35 +02:00
2017-03-30 09:41:25 +02:00
2017-03-12 06:41:51 +01:00
2017-03-15 10:02:52 +08:00
2017-03-12 06:41:47 +01:00
2017-03-26 13:05:58 +02:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2016-11-30 10:41:26 -08:00
2017-03-30 09:41:27 +02:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2016-10-27 17:47:11 +02:00
2016-10-11 15:06:33 -07:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2017-03-26 13:05:57 +02:00
2017-03-12 06:41:50 +01:00
2016-10-10 20:16:43 -07:00
2017-01-09 08:32:22 +01:00
2016-10-30 13:09:42 -04:00
2017-01-19 20:17:59 +01:00
2016-10-10 20:16:43 -07:00
2016-09-27 21:06:21 -04:00
2017-03-15 10:02:44 +08:00
2016-11-29 10:20:24 +01:00
2017-01-19 20:18:04 +01:00
2016-10-10 20:16:43 -07:00
2016-08-15 17:43:31 +02:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2016-10-07 21:48:36 -04:00
2016-10-14 12:18:50 -07:00
2016-10-10 20:16:43 -07:00
2016-09-27 21:06:21 -04:00
2017-01-26 08:24:40 +01:00
2016-10-10 20:16:43 -07:00
2016-10-10 20:16:43 -07:00
2017-02-26 11:10:52 +01:00
2016-10-30 13:09:42 -04:00
2016-10-10 20:16:43 -07:00
2017-01-09 08:32:24 +01:00
2016-07-25 16:51:49 +10:00
2016-09-14 21:28:10 +02:00
2016-08-02 19:35:15 -04:00
2016-07-28 13:29:12 +10:00
2016-09-27 21:06:22 -04:00
2017-01-09 08:32:21 +01:00
2016-10-11 15:06:33 -07:00
2016-08-23 22:58:51 -07:00
2016-09-24 09:27:18 +02:00
2016-09-27 21:20:53 -04:00
2016-11-11 08:12:37 -08:00
2017-02-09 08:08:31 +01:00
2017-01-19 20:18:03 +01:00
2016-10-03 20:38:55 -04:00
2017-01-06 10:40:13 +01:00
2016-09-27 18:47:38 -04:00
2016-08-09 19:58:06 -06:00
2016-10-10 20:16:43 -07:00
2016-10-10 13:04:49 -07:00
2016-09-15 13:29:52 -07:00
2017-02-09 08:08:31 +01:00
2016-10-07 18:46:29 -07:00
2016-08-12 16:47:05 +01:00
2016-10-10 20:16:43 -07:00
2016-10-18 12:21:28 +02:00
2016-08-31 11:44:36 -04:00
2017-03-15 10:02:43 +08:00
2016-08-07 14:41:02 -06:00
2017-03-15 10:02:44 +08:00
2017-03-15 10:02:44 +08:00
2016-10-10 20:16:43 -07:00
2016-10-13 20:28:22 -07:00
2016-10-11 15:06:32 -07:00
2017-03-15 10:02:43 +08:00
2017-03-15 10:02:43 +08:00
2017-01-26 08:24:37 +01:00
2016-10-14 20:00:34 -04:00
2016-10-11 15:06:30 -07:00
2016-10-07 18:46:30 -07:00
2017-02-23 17:44:35 +01:00
2017-03-15 10:02:44 +08:00
2016-07-26 16:19:19 -07:00
2016-10-08 11:06:08 -04:00
2016-11-17 00:00:23 -05:00