Messages in this thread | | | Date | Thu, 17 Mar 2022 23:35:00 +0100 (CET) | From | Richard Weinberger <> | Subject | Re: [PATCH -next] ubifs: rename_whiteout: correct old_dir size computing |
| |
----- Ursprüngliche Mail ----- > Von: "libaokun" <libaokun1@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
| |