[PATCH -next] ubifs: rename_whiteout: correct old_dir size computing
libaokun (A)
libaokun1 at huawei.com
Thu Mar 17 19:01:13 PDT 2022
在 2022/3/18 6:35, Richard Weinberger 写道:
> ----- Ursprüngliche Mail -----
>> Von: "libaokun" <libaokun1 at huawei.com>
>>>>> +
>>>>> + /* 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
> .
Thank you for your review!
--
With Best Regards,
Baokun Li
More information about the linux-mtd
mailing list