diff options
| author | Luis Henriques (SUSE) <[email protected]> | 2024-07-24 16:11:17 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2024-08-27 03:39:48 +0000 |
| commit | 7a6443e1dad70281f99f0bd394d7fd342481a632 (patch) | |
| tree | c9f699d0e6f33b76d1af75d5e0f9ed9873a264d7 /fs/ext4/fast_commit.c | |
| parent | ext4: fix incorrect tid assumption in __jbd2_log_wait_for_space() (diff) | |
| download | kernel-7a6443e1dad70281f99f0bd394d7fd342481a632.tar.gz kernel-7a6443e1dad70281f99f0bd394d7fd342481a632.zip | |
ext4: fix incorrect tid assumption in jbd2_journal_shrink_checkpoint_list()
Function jbd2_journal_shrink_checkpoint_list() assumes that '0' is not a
valid value for transaction IDs, which is incorrect. Don't assume that and
use two extra boolean variables to control the loop iterations and keep
track of the first and last tid.
Signed-off-by: Luis Henriques (SUSE) <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Cc: [email protected]
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
