aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2022-02-13 22:42:30 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2022-02-13 22:42:30 -0500
commit124f75f864f38327e3e7e182e6b6da5105e2bade (patch)
treef861c6dfec15a97b5c6200d89cd9fb18132aac80 /samples
parentseq_file: fix NULL pointer arithmetic warning (diff)
downloadlinux-dev-124f75f864f38327e3e7e182e6b6da5105e2bade.tar.xz
linux-dev-124f75f864f38327e3e7e182e6b6da5105e2bade.zip
clean overflow checks in count_mounts() a bit
Wraparound checks in there are redundant (x + y < x and x + y < y are equivalent when x and y are both unsigned int). IMO more straightforward code would be better here... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions