Re: Lost space on JFFS2 partition

David Woodhouse
2003-08-28T14:46:48Z

On Thu, 2003-08-28 at 15:25 +0100, John Hall wrote:
> 2.4.18 is considered ancient? :(

March 2002? Yes, that's ancient.

> I've discovered the backward-compat stuff - seems to mainly be 'BUG_ON'
> and 'likely'. I did get some compiler warnings about %z in printf
> strings - is this just gcc 2.95.3 not being aware of them?

Get lib/vsprintf.c from a current kernel; that kernel doesn't grok %z
either. Then the warning from gcc is a harmless false positive.

> I found this in the archives:
> "Just replace jffs2_{de,}compress() with NOPs. Return zero from
> jffs2_compress()", which seems to be more of a hack...

Yeah -- I want to make it a per-file and/or per-directory ioctl to
disable compression, but haven't got round to it yet.

--
dwmw2