diff options
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r-- | fs/xfs/xfs_vnodeops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_vnodeops.c b/fs/xfs/xfs_vnodeops.c index fa694dc5d309..3418c94bcf17 100644 --- a/fs/xfs/xfs_vnodeops.c +++ b/fs/xfs/xfs_vnodeops.c | |||
@@ -1763,7 +1763,7 @@ int | |||
1763 | xfs_lookup( | 1763 | xfs_lookup( |
1764 | xfs_inode_t *dp, | 1764 | xfs_inode_t *dp, |
1765 | bhv_vname_t *dentry, | 1765 | bhv_vname_t *dentry, |
1766 | bhv_vnode_t **vpp) | 1766 | xfs_inode_t **ipp) |
1767 | { | 1767 | { |
1768 | xfs_inode_t *ip; | 1768 | xfs_inode_t *ip; |
1769 | xfs_ino_t e_inum; | 1769 | xfs_ino_t e_inum; |
@@ -1778,7 +1778,7 @@ xfs_lookup( | |||
1778 | lock_mode = xfs_ilock_map_shared(dp); | 1778 | lock_mode = xfs_ilock_map_shared(dp); |
1779 | error = xfs_dir_lookup_int(dp, lock_mode, dentry, &e_inum, &ip); | 1779 | error = xfs_dir_lookup_int(dp, lock_mode, dentry, &e_inum, &ip); |
1780 | if (!error) { | 1780 | if (!error) { |
1781 | *vpp = XFS_ITOV(ip); | 1781 | *ipp = ip; |
1782 | xfs_itrace_ref(ip); | 1782 | xfs_itrace_ref(ip); |
1783 | } | 1783 | } |
1784 | xfs_iunlock_map_shared(dp, lock_mode); | 1784 | xfs_iunlock_map_shared(dp, lock_mode); |