linux-stable/fs/jbd2
Ye Bin 27c7bd3513 jbd2: add miss release buffer head in fc_do_one_pass()
commit dfff66f30f 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-24 09:56:54 +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
checkpoint.c ext4: inline jbd2_journal_[un]register_shrinker() 2021-07-08 08:37:31 -04:00
commit.c jbd2: wake up journal waiters in FIFO order, not LIFO 2022-10-24 09:56:53 +02:00
journal.c jbd2: fix potential use-after-free in jbd2_fc_wait_bufs 2022-10-24 09:56:54 +02:00
recovery.c jbd2: add miss release buffer head in fc_do_one_pass() 2022-10-24 09:56:54 +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-24 09:56:53 +02:00