Re: [PATCH] ubifs: Fix O_TMPFILE corner case in ubifs_link()

From: Richard Weinberger
Date: Mon Apr 17 2017 - 11:55:06 EST


Am 17.04.2017 um 17:27 schrieb Ralph Sennhauser:
> Hi Amir, Richard
>
> Looks like the fix didn't make it into 4.11-rc7 either, isn't it time
> to just disable O_TMPFILE support in ubifs for now? Giving plenty
> time for the proper fix.

As I said to Amir, don't panic. I'm *very* busy right now with non-computer stuff.
My first fix is correct, I was wrong about the testing, it does the right thing,
although it was not so clear.
Except that my fix misses one error case which I wanted to push tomorrow since today
is a official holiday here in Austria.
For the next merge window I have a better approach which is better than (ab)using
ubifs_jnl_update() for O_TMPFILE.

Thanks,
//richard