Messages in this thread | | | Date | Thu, 21 Mar 2013 21:52:55 +0000 | From | Al Viro <> | Subject | Re: VFS deadlock ? |
| |
On Thu, Mar 21, 2013 at 05:41:18PM -0400, Dave Jones wrote: > fs/namei.c:2342:3: warning: passing argument 1 of ???d_absolute_path??? from incompatible pointer type [enabled by default] > d_absolute_path(p1, path, 4096); > ^ > In file included from include/linux/fs.h:8:0, > from fs/namei.c:21: > include/linux/dcache.h:337:14: note: expected ???const struct path *??? but argument is of type ???struct dentry *??? > extern char *d_absolute_path(const struct path *, char *, int); > ^ > > > How do I go from the dentry in p1 to the path d_absolute_path expects ?
Ugh... s/d_absolute_path/dentry_path/, of course. Sorry about the braino...
| |