Skip to content
Commit 124f75f8 authored by Al Viro's avatar Al Viro
Browse files

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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 90b2433e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment