X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fdcache.h;h=2a6639407c8037581ce7baa58e95c8c936a26245;hb=63ffa3e456c1a9884a3ebac997d91e3fdae18d78;hp=c2c153f97e8f83b233c2e5d2ea0fb19de640b4d2;hpb=0b776eb5426752d4e53354ac89e3710d857e09a7;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/dcache.h b/include/linux/dcache.h index c2c153f97e8..2a6639407c8 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -1,8 +1,6 @@ #ifndef __LINUX_DCACHE_H #define __LINUX_DCACHE_H -#ifdef __KERNEL__ - #include #include #include @@ -10,6 +8,7 @@ #include struct nameidata; +struct path; struct vfsmount; /* @@ -300,8 +299,10 @@ extern int d_validate(struct dentry *, struct dentry *); */ extern char *dynamic_dname(struct dentry *, char *, int, const char *, ...); -extern char * d_path(struct dentry *, struct vfsmount *, char *, int); - +extern char *__d_path(const struct path *path, struct path *root, char *, int); +extern char *d_path(struct path *, char *, int); +extern char *dentry_path(struct dentry *, char *, int); + /* Allocation counts.. */ /** @@ -358,11 +359,8 @@ static inline int d_mountpoint(struct dentry *dentry) } extern struct vfsmount *lookup_mnt(struct vfsmount *, struct dentry *); -extern struct vfsmount *__lookup_mnt(struct vfsmount *, struct dentry *, int); extern struct dentry *lookup_create(struct nameidata *nd, int is_dir); extern int sysctl_vfs_cache_pressure; -#endif /* __KERNEL__ */ - #endif /* __LINUX_DCACHE_H */