Hi!
How could it underflow? for (..., index) already means we break the loop. I don't see underflow possibility.
let us assume list @file_systems has 1000 entries, and think about what will happen for below scenario.
for invocation fs_name(0, ...) but the first try_module_get() fails.
@index underflow will cause extra and unnecessary 999 cycles.
You are right, I misparsed the code.
Best regards, Pavel