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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- From: Linus Torvalds <torvalds@linux-foundation.org>
- Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- References:
- 2.6.22-rc6-mm1-cfs-v19 Unable to handle kernel NULL pointer dereference (reproducable)
- From: Markus Trippelsdorf <markus@trippelsdorf.de>
- Re: 2.6.22-rc6-mm1-cfs-v19 Unable to handle kernel NULL pointer dereference (reproducable)
- From: Andrew Morton <akpm@linux-foundation.org>
- Re: 2.6.22-rc6-mm1-cfs-v19 Unable to handle kernel NULL pointer dereference (reproducable)
- From: Markus Trippelsdorf <markus@trippelsdorf.de>
- Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- From: Markus Trippelsdorf <markus@trippelsdorf.de>
- Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- From: Ulrich Drepper <drepper@redhat.com>
- Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- From: Al Viro <viro@ftp.linux.org.uk>
- Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- From: Ulrich Drepper <drepper@redhat.com>
- Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- From: Linus Torvalds <torvalds@linux-foundation.org>
- Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- From: Linus Torvalds <torvalds@linux-foundation.org>
- Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- From: Linus Torvalds <torvalds@linux-foundation.org>
- 2.6.22-rc6-mm1-cfs-v19 Unable to handle kernel NULL pointer dereference (reproducable)
- Prev by Date: Re: [PATCH] Some love to default profiler
- Next by Date: Re: [PATCH] Some love to default profiler
- Previous by thread: Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- Next by thread: Re: 2.6.22-rc6(mm1) Unable to handle kernel NULL pointer dereference - git-bisect result
- Index(es):
![]() |