diff options
Diffstat (limited to 'fs/xfs/xfs_utils.c')
-rw-r--r-- | fs/xfs/xfs_utils.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/fs/xfs/xfs_utils.c b/fs/xfs/xfs_utils.c index 20ffec308e1e..4a7208ef7faa 100644 --- a/fs/xfs/xfs_utils.c +++ b/fs/xfs/xfs_utils.c | |||
@@ -65,20 +65,15 @@ xfs_get_dir_entry( | |||
65 | 65 | ||
66 | int | 66 | int |
67 | xfs_dir_lookup_int( | 67 | xfs_dir_lookup_int( |
68 | bhv_desc_t *dir_bdp, | 68 | xfs_inode_t *dp, |
69 | uint lock_mode, | 69 | uint lock_mode, |
70 | bhv_vname_t *dentry, | 70 | bhv_vname_t *dentry, |
71 | xfs_ino_t *inum, | 71 | xfs_ino_t *inum, |
72 | xfs_inode_t **ipp) | 72 | xfs_inode_t **ipp) |
73 | { | 73 | { |
74 | bhv_vnode_t *dir_vp; | ||
75 | xfs_inode_t *dp; | ||
76 | int error; | 74 | int error; |
77 | 75 | ||
78 | dir_vp = BHV_TO_VNODE(dir_bdp); | 76 | vn_trace_entry(XFS_ITOV(dp), __FUNCTION__, (inst_t *)__return_address); |
79 | vn_trace_entry(dir_vp, __FUNCTION__, (inst_t *)__return_address); | ||
80 | |||
81 | dp = XFS_BHVTOI(dir_bdp); | ||
82 | 77 | ||
83 | error = xfs_dir_lookup(NULL, dp, VNAME(dentry), VNAMELEN(dentry), inum); | 78 | error = xfs_dir_lookup(NULL, dp, VNAME(dentry), VNAMELEN(dentry), inum); |
84 | if (!error) { | 79 | if (!error) { |