[PATCH] xfs: change uses of f_{dentry,vfsmnt} to use f_path
Change all the uses of f_{dentry,vfsmnt} to f_path.{dentry,mnt} in the xfs filesystem. 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

父節點
bd243a4b4b
當前提交
e678fb0d52
@@ -71,7 +71,7 @@ xfs_swapext(
|
||||
|
||||
/* Pull information for the target fd */
|
||||
if (((fp = fget((int)sxp->sx_fdtarget)) == NULL) ||
|
||||
((vp = vn_from_inode(fp->f_dentry->d_inode)) == NULL)) {
|
||||
((vp = vn_from_inode(fp->f_path.dentry->d_inode)) == NULL)) {
|
||||
error = XFS_ERROR(EINVAL);
|
||||
goto error0;
|
||||
}
|
||||
@@ -83,7 +83,7 @@ xfs_swapext(
|
||||
}
|
||||
|
||||
if (((tfp = fget((int)sxp->sx_fdtmp)) == NULL) ||
|
||||
((tvp = vn_from_inode(tfp->f_dentry->d_inode)) == NULL)) {
|
||||
((tvp = vn_from_inode(tfp->f_path.dentry->d_inode)) == NULL)) {
|
||||
error = XFS_ERROR(EINVAL);
|
||||
goto error0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user