diff options
| author | Jan Blunck <[email protected]> | 2008-02-14 19:38:44 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-14 21:17:09 -0800 |
| commit | cf28b4863f9ee8f122e8ff3ac0d403e07ba9c6d9 (patch) | |
| tree | 65c91f6911b34c32e517938289621ce0e7baeaf3 /include/linux | |
| parent | c32c2f63a9d6c953aaf168c0b2551da9734f76d2 (diff) | |
d_path: Make d_path() use a struct path
d_path() is used on a <dentry,vfsmount> pair. Lets use a struct path to
reflect this.
[[email protected]: fix build in mm/memory.c]
Signed-off-by: Jan Blunck <[email protected]>
Acked-by: Bryan Wu <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Cc: Al Viro <[email protected]>
Cc: "J. Bruce Fields" <[email protected]>
Cc: Neil Brown <[email protected]>
Cc: Michael Halcrow <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/dcache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index c2c153f97e8f..6bd646096fa6 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -10,6 +10,7 @@ #include <linux/rcupdate.h> struct nameidata; +struct path; struct vfsmount; /* @@ -300,8 +301,8 @@ 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(struct path *, char *, int); + /* Allocation counts.. */ /** |