Re: [discuss] Re: 2.6.16-rc5-mm3: spinlock bad magic on CPU#0 on AMD64

Andrew Morton
2006-03-13T11:48:16Z

"Rafael J. Wysocki" <rjw@sisk.pl> wrote:
>
> > This should fix:
> >
> > --- devel/fs/ext3/inode.c~ext3-get-blocks-maping-multiple-blocks-at-a-once-journal-reentry-fix 2006-03-12 14:25:04.000000000 -0800
> > +++ devel-akpm/fs/ext3/inode.c 2006-03-12 14:25:04.000000000 -0800
> > @@ -830,7 +830,7 @@ ext3_direct_io_get_blocks(struct inode *
> > handle_t *handle = journal_current_handle();
> > int ret = 0;
> >
> > - if (!handle)
> > + if (!create)
> > goto get_block; /* A read */
> >
> > if (max_blocks == 1)
>
> Er, it doesn't apply to either 2.6.16-rc5-mm3 or 2.6.16-rc6-mm1.

Nope, it applies OK to rc6-mm1.

But whatever - it's only a single line?