summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorLuis Henriques (SUSE) <luis.henriques@linux.dev>2024-05-29 12:20:30 +0300
committerTheodore Ts'o <tytso@mit.edu>2024-07-09 06:59:35 +0300
commit63469662cc45d41705f14b4648481d5d29cf5999 (patch)
treed704d82b400efb3763e00c7c78f39565c9524f65 /scripts/generate_rust_analyzer.py
parent2d4d6bda0f7ba0f188a22698855a1397c8999df3 (diff)
downloadlinux-63469662cc45d41705f14b4648481d5d29cf5999.tar.xz
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) <luis.henriques@linux.dev> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Harshad Shirwadkar <harshadshirwadkar@gmail.com> Link: https://patch.msgid.link/20240529092030.9557-3-luis.henriques@linux.dev Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions