diff options
| author | 2024-07-24 17:11:18 +0100 | |
|---|---|---|
| committer | 2024-08-26 23:40:00 -0400 | |
| commit | ebc4b2c1ac92fc0f8bf3f5a9c285a871d5084a6b (patch) | |
| tree | 571bce815521cb30ff50a5e38fca3b546a7b7ea6 /tools/perf/scripts/python/parallel-perf.py | |
| parent | ext4: fix incorrect tid assumption in jbd2_journal_shrink_checkpoint_list() (diff) | |
| download | linux-rng-ebc4b2c1ac92fc0f8bf3f5a9c285a871d5084a6b.tar.xz linux-rng-ebc4b2c1ac92fc0f8bf3f5a9c285a871d5084a6b.zip | |
ext4: fix incorrect tid assumption in ext4_fc_mark_ineligible()
Function jbd2_journal_shrink_checkpoint_list() assumes that '0' is not a
valid value for transaction IDs, which is incorrect.
Furthermore, the sbi->s_fc_ineligible_tid handling also makes the same
assumption by being initialised to '0'. Fortunately, the sb flag
EXT4_MF_FC_INELIGIBLE can be used to check whether sbi->s_fc_ineligible_tid
has been previously set instead of comparing it with '0'.
Signed-off-by: Luis Henriques (SUSE) <luis.henriques@linux.dev>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20240724161119.13448-5-luis.henriques@linux.dev
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
