[PATCH] mm: change uses of f_{dentry,vfsmnt} to use f_path
Change all the uses of f_{dentry,vfsmnt} to f_path.{dentry,mnt} in linux/mm/. Signed-off-by: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
f3a43f3f64
commit
d3ac7f892b
@ -379,7 +379,7 @@ xip_file_write(struct file *filp, const char __user *buf, size_t len,
|
||||
if (count == 0)
|
||||
goto out_backing;
|
||||
|
||||
ret = remove_suid(filp->f_dentry);
|
||||
ret = remove_suid(filp->f_path.dentry);
|
||||
if (ret)
|
||||
goto out_backing;
|
||||
|
||||
|
Reference in New Issue
Block a user