diff options
author | Jan Blunck <jblunck@suse.de> | 2008-02-15 04:38:44 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-15 06:17:09 +0100 |
commit | cf28b4863f9ee8f122e8ff3ac0d403e07ba9c6d9 (patch) | |
tree | 65c91f6911b34c32e517938289621ce0e7baeaf3 /fs/dcookies.c | |
parent | d_path: Make seq_path() use a struct path argument (diff) | |
download | linux-cf28b4863f9ee8f122e8ff3ac0d403e07ba9c6d9.tar.xz linux-cf28b4863f9ee8f122e8ff3ac0d403e07ba9c6d9.zip |
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.
[akpm@linux-foundation.org: fix build in mm/memory.c]
Signed-off-by: Jan Blunck <jblunck@suse.de>
Acked-by: Bryan Wu <bryan.wu@analog.com>
Acked-by: Christoph Hellwig <hch@infradead.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Neil Brown <neilb@suse.de>
Cc: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/dcookies.c')
-rw-r--r-- | fs/dcookies.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dcookies.c b/fs/dcookies.c index 13c29f1f711f..855d4b1d619a 100644 --- a/fs/dcookies.c +++ b/fs/dcookies.c @@ -171,7 +171,7 @@ asmlinkage long sys_lookup_dcookie(u64 cookie64, char __user * buf, size_t len) goto out; /* FIXME: (deleted) ? */ - path = d_path(dcs->path.dentry, dcs->path.mnt, kbuf, PAGE_SIZE); + path = d_path(&dcs->path, kbuf, PAGE_SIZE); if (IS_ERR(path)) { err = PTR_ERR(path); |