Re: kdevtmpfs oops since yesterdays vfs merge

From: Dave Jones
Date: Mon Jul 25 2011 - 01:53:27 EST


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.

Dave
--
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/