summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorChengguang Xu2019-05-11 03:15:47 +0200
committerTheodore Ts'o2019-05-11 03:15:47 +0200
commit0d52154bb0a700abb459a2cbce0a30fc2549b67e (patch)
tree77f16584704ea8a684a8f0bd70bc76bfd557e9a9 /fs/ext4
parentext4: zero out the unused memory region in the extent tree block (diff)
downloadkernel-qcow2-linux-0d52154bb0a700abb459a2cbce0a30fc2549b67e.tar.gz
kernel-qcow2-linux-0d52154bb0a700abb459a2cbce0a30fc2549b67e.tar.xz
kernel-qcow2-linux-0d52154bb0a700abb459a2cbce0a30fc2549b67e.zip
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
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions