Re: VFS deadlock ?

From: Al Viro
Date: Thu Mar 21 2013 - 17:53:05 EST


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