Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
From: Al Viro
Date: Sun Jul 08 2007 - 14:51:31 EST
On Sun, Jul 08, 2007 at 11:38:20AM -0700, Linus Torvalds wrote:
> I do think that it would be even nicer to just have a function that fills
> in the "struct nameidata" from the dfd. I think we should be able to: the
> "struct file" really does have the "f_path" thing with both dentry and mnt
> information, and that would clean up that whole ugly "filepointer-vs-nd"
> thing a lot.
>
> That would be an "Al cleanup", though. What do you think, Al?
I think that we need to go the other way round - gather nameidata
->nd and ->dentry into struct path and pass pointer to that instead...
But that's .23-rc1 fodder, if not .23-rc2 one (we might want to
do -rc2 with just that, to avoid conflicts with pending patches).
Definitely not for .22-final.
-
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/