diff options
| author | Eric Biggers <[email protected]> | 2017-03-15 19:08:48 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2017-03-15 19:08:48 +0000 |
| commit | cd9cb405e0b948363811dc74dbb2890f56f2cb87 (patch) | |
| tree | 6390b945bfba94fc1f7cbc37a0151755ab94214e /net/unix/garbage.c | |
| parent | ext4: mark inode dirty after converting inline directory (diff) | |
| download | kernel-cd9cb405e0b948363811dc74dbb2890f56f2cb87.tar.gz kernel-cd9cb405e0b948363811dc74dbb2890f56f2cb87.zip | |
jbd2: don't leak memory if setting up journal fails
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.
Cc: [email protected] # 4.9
Fixes: f0c9fd5458bacf7b12a9a579a727dc740cbe047e
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
