Re: [PATCH 1/5] fs/filesystems: Fix potential unsigned integer underflow in fs_name()

From: Zijun Hu
Date: Fri Apr 11 2025 - 10:53:26 EST


On 2025/4/11 22:35, Christian Brauner wrote:
>> Fix by breaking the for loop when '@index == 0' which is also more proper
>> than '@index <= 0' for unsigned integer comparison.
>>
>> Signed-off-by: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
>> ---
> This is honestly not worth the effort thinking about.
> I'm going to propose that we remove this system call or at least switch
> the default to N. Nobody uses this anymore I'm pretty sure

Sound good.

i just started looking at FS code (^^).