Messages in this thread | | | Subject | Re: [PATCH -next] ubifs: rename_whiteout: correct old_dir size computing | From | "libaokun (A)" <> | Date | Fri, 18 Mar 2022 10:01:13 +0800 |
| |
在 2022/3/18 6:35, Richard Weinberger 写道: > ----- 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 > .
Thank you for your review!
-- With Best Regards, Baokun Li
| |