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

Richard Weinberger richard at nod.at
Thu Mar 17 15:35:00 PDT 2022


----- 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



More information about the linux-mtd mailing list