[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2008739324.156347.1647556500875.JavaMail.zimbra@nod.at>
Date: Thu, 17 Mar 2022 23:35:00 +0100 (CET)
From: Richard Weinberger <richard@....at>
To: libaokun <libaokun1@...wei.com>
Cc: linux-mtd <linux-mtd@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
yukuai3 <yukuai3@...wei.com>,
chengzhihao1 <chengzhihao1@...wei.com>
Subject: Re: [PATCH -next] ubifs: rename_whiteout: correct old_dir size
computing
----- Ursprüngliche Mail -----
> Von: "libaokun" <libaokun1@...wei.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
Powered by blists - more mailing lists