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

From: libaokun (A)
Date: Thu Mar 17 2022 - 22:01:23 EST


在 2022/3/18 6:35, Richard Weinberger 写道:
----- 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
.

Thank you for your review!

--
With Best Regards,
Baokun Li