[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <311070065.273732.1611396320672.JavaMail.zimbra@nod.at>
Date: Sat, 23 Jan 2021 11:05:20 +0100 (CET)
From: Richard Weinberger <richard@....at>
To: chengzhihao1 <chengzhihao1@...wei.com>
Cc: linux-mtd <linux-mtd@...ts.infradead.org>,
david <david@...ma-star.at>,
linux-kernel <linux-kernel@...r.kernel.org>,
stable <stable@...r.kernel.org>
Subject: Re: [PATCH 3/4] ubifs: Update directory size when creating
whiteouts
----- Ursprüngliche Mail -----
> Von: "chengzhihao1" <chengzhihao1@...wei.com>
> An: "richard" <richard@....at>, "linux-mtd" <linux-mtd@...ts.infradead.org>
> CC: "david" <david@...ma-star.at>, "linux-kernel" <linux-kernel@...r.kernel.org>, "stable" <stable@...r.kernel.org>
> Gesendet: Samstag, 23. Januar 2021 03:45:15
> Betreff: Re: [PATCH 3/4] ubifs: Update directory size when creating whiteouts
> 在 2021/1/23 5:22, Richard Weinberger 写道:
>> Although whiteouts are unlinked files they will get re-linked later,
> I just want to make sure, is this where the count is increased?
> do_rename -> inc_nlink(whiteout)
Exactly. The logic is a little wicked, I agree.
Let me think again whether there isn't a better way to address
the problem.
Thanks,
//richard
P.s: Thanks a lot for reviewing!
Powered by blists - more mailing lists