android_kernel_xiaomi_sm8450/fs/jbd2
Ye Bin e65506ff18 jbd2: add miss release buffer head in fc_do_one_pass()
commit dfff66f30f66b9524b661f311bbed8ff3d2ca49f upstream.

In fc_do_one_pass() miss release buffer head after use which will lead
to reference count leak.

Cc: stable@kernel.org
Signed-off-by: Ye Bin <yebin10@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20220917093805.1782845-1-yebin10@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-10-26 13:25:13 +02:00
..
checkpoint.c jbd2: fix up sparse warnings in checkpoint code 2020-11-07 00:09:08 -05:00
commit.c jbd2: wake up journal waiters in FIFO order, not LIFO 2022-10-26 13:25:12 +02:00
journal.c jbd2: fix potential use-after-free in jbd2_fc_wait_bufs 2022-10-26 13:25:13 +02:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
recovery.c jbd2: add miss release buffer head in fc_do_one_pass() 2022-10-26 13:25:13 +02:00
revoke.c jbd2: Reserve space for revoke descriptor blocks 2019-11-05 16:00:48 -05:00
transaction.c jbd2: wake up journal waiters in FIFO order, not LIFO 2022-10-26 13:25:12 +02:00