Re: [PATCH -next] ubifs: rename_whiteout: correct old_dir size computing

From: Richard Weinberger
Date: Thu Mar 17 2022 - 18:35:09 EST


----- Ursprüngliche Mail -----
> Von: "libaokun" <libaokun1@xxxxxxxxxx>
>>>> +
>>>> + /* Add the old_dentry size to the old_dir size. */
>>>> + old_sz -= CALC_DENT_SIZE(fname_len(&old_nm));
>> So you basically reset old_sz back to 0?
> Yes, reset old_sz to 0 here.

Okay, makes sense. Patch applied.

Thanks,
//richard