aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_vnodeops.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-03-05 21:46:25 -0500
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-04-17 21:40:55 -0400
commitef1f5e7ad38e5414d016983a8cc5a8db7654a61d (patch)
tree6257477d68089b51a5dc352ef573344c42af0115 /fs/xfs/xfs_vnodeops.c
parent3937be5ba836a204d3d1df96b518eecd6cdacbb9 (diff)
[XFS] cleanup vnode use in xfs_lookup
SGI-PV: 976035 SGI-Modid: xfs-linux-melb:xfs-kern:30550a Signed-off-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_vnodeops.c')
-rw-r--r--fs/xfs/xfs_vnodeops.c4
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
1763xfs_lookup( 1763xfs_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);