aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorLuis Henriques (SUSE) <[email protected]>2024-07-24 17:11:18 +0100
committerTheodore Ts'o <[email protected]>2024-08-26 23:40:00 -0400
commitebc4b2c1ac92fc0f8bf3f5a9c285a871d5084a6b (patch)
tree571bce815521cb30ff50a5e38fca3b546a7b7ea6 /include/linux/timerqueue.h
parent7a6443e1dad70281f99f0bd394d7fd342481a632 (diff)
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) <[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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions