[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cbaff214-7431-2cd1-2453-156d716c0d8a@nod.at>
Date: Thu, 30 Mar 2017 14:27:21 +0200
From: Richard Weinberger <richard@....at>
To: Adrian Hunter <adrian.hunter@...el.com>,
linux-mtd@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org, dedekind1@...il.com,
stable@...r.kernel.org,
Ralph Sennhauser <ralph.sennhauser@...il.com>,
Amir Goldstein <amir73il@...il.com>
Subject: Re: [PATCH] ubifs: Fix O_TMPFILE corner case in ubifs_link()
Am 30.03.2017 um 13:57 schrieb Adrian Hunter:
>> Reading deeper into the proved that I was wrong.
>> AFAIKT UBIFS' journal has currently no way to revive a deleted inode.
>> So, we have to think about a new solution.
>
> Deleting the orphan looks right. Just need to understand whether the
> recovery would do the right thing - actually it looks like O_TMPFILE might
> be OK and in other case we might be failing to remove nodes with sequence
> numbers greater than the deletion inode.
Sadly it does not the right thing.
I'm currently investigating why and how to deal with it.
I also managed to trigger that case. :(
Thanks,
//richard
Powered by blists - more mailing lists