mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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]>
This commit is contained in:
parent
c32c2f63a9
commit
cf28b4863f
12 changed files with 24 additions and 36 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue