aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorLuis Henriques (SUSE) <[email protected]>2024-05-29 09:20:30 +0000
committerTheodore Ts'o <[email protected]>2024-07-09 03:59:35 +0000
commit63469662cc45d41705f14b4648481d5d29cf5999 (patch)
treed704d82b400efb3763e00c7c78f39565c9524f65 /fs/jbd2/commit.c
parentext4: use ext4_update_inode_fsync_trans() helper in inode creation (diff)
downloadkernel-63469662cc45d41705f14b4648481d5d29cf5999.tar.gz
kernel-63469662cc45d41705f14b4648481d5d29cf5999.zip
ext4: fix possible tid_t sequence overflows
In the fast commit code there are a few places where tid_t variables are being compared without taking into account the fact that these sequence numbers may wrap. Fix this issue by using the helper functions tid_gt() and tid_geq(). Signed-off-by: Luis Henriques (SUSE) <[email protected]> Reviewed-by: Jan Kara <[email protected]> Reviewed-by: Harshad Shirwadkar <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions