Re: kdevtmpfs oops since yesterdays vfs merge

Al Viro
2011-07-25T06:15:58Z

On Mon, Jul 25, 2011 at 01:53:08AM -0400, Dave Jones wrote:
> On Mon, Jul 25, 2011 at 06:12:51AM +0100, Al Viro wrote:
>
> > Arrgh... OK, I see what's going on.
> >
> > req->err = handle(req->name, req->mode, req->dev);
> > complete(&req->done);
> > req = req->next;
> > is letting the request creator to continue; if it leaves the scope, guess
> > what is left in *req? That's right, garbage... Including req->next.
> > All right, try this and let's see if it fixes the problem:
>
> Yep, that solves the problem.

OK, to Linus it goes tomorrow morning... I'm about to fall asleep right now
and queue needs a bit of reordering ;-/