Re: [PATCH] [MTD] Fix JFFS2 sync silent failure

From: Jens Axboe
Date: Thu Apr 22 2010 - 12:27:16 EST


On Thu, Apr 22 2010, Linus Torvalds wrote:
>
>
> On Thu, 22 Apr 2010, Linus Torvalds wrote:
> >
> > Umm. Why not just remove the two-liner? It was incorrect. The comment says
> > "this should be safe", and if it wasn't, then the commit that caused this
> > all was total crap to begin with.
>
> Grr. Ok, so we do need it. Because Jens made it not work without it, and
> didn't fix up the filesystems, just added a random comment saying "we
> shouldn't need to".
>
> Double-grr. I hate misleading comments. It makes the patch and the code
> look like people knew what they were doing.

Yeah sorry, that part was apparently not well thought through. It did go
through review and testing, but at least the latter was not good enough.

> Jens - please help fix this up.

Of course, I already posted a series of patches to fix this up. I want
to test them a bit, and I'll send them in tomorrow.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/