[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jffs_erasable_size: offset = 0x0034b000

On Mon, Jul 10, 2000 at 09:29:50AM +0100, David Woodhouse wrote:
> nick@xxxxxxx.ru said:
> > It seems to be not 2.3-only bug. At least with 2.2.12 I've faced the
> > same problem.
> Hmmm. Beat prumpf up then. He told me it was.

Okay, it's definitely there in 2.2 as well (and the fix shouldn't hurt us
even if the race never occurs).

In fact, if no-one minds, I think we should move the if(!c->fmc->no_call_gc)
into jffs_garbage_collect, and use
#ifndef USE_GC
#define jffs_garbage_collect(c) do { (void) (c); } while(0)

to keep #ifdef noise down and kill some lines of code.

	Philipp Rumpf