aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_rename.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/xfs_rename.c')
-rw-r--r--fs/xfs/xfs_rename.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/xfs_rename.c b/fs/xfs/xfs_rename.c
index 44ea0ba36476..17e7496bdd5f 100644
--- a/fs/xfs/xfs_rename.c
+++ b/fs/xfs/xfs_rename.c
@@ -118,7 +118,7 @@ xfs_lock_for_rename(
118 inum1 = ip1->i_ino; 118 inum1 = ip1->i_ino;
119 119
120 ASSERT(ip1); 120 ASSERT(ip1);
121 ITRACE(ip1); 121 xfs_itrace_ref(ip1);
122 122
123 /* 123 /*
124 * Unlock dp1 and lock dp2 if they are different. 124 * Unlock dp1 and lock dp2 if they are different.
@@ -141,7 +141,7 @@ xfs_lock_for_rename(
141 IRELE (ip1); 141 IRELE (ip1);
142 return error; 142 return error;
143 } else { 143 } else {
144 ITRACE(ip2); 144 xfs_itrace_ref(ip2);
145 } 145 }
146 146
147 /* 147 /*
@@ -247,8 +247,8 @@ xfs_rename(
247 int src_namelen = VNAMELEN(src_vname); 247 int src_namelen = VNAMELEN(src_vname);
248 int target_namelen = VNAMELEN(target_vname); 248 int target_namelen = VNAMELEN(target_vname);
249 249
250 vn_trace_entry(src_dp, "xfs_rename", (inst_t *)__return_address); 250 xfs_itrace_entry(src_dp);
251 vn_trace_entry(xfs_vtoi(target_dir_vp), "xfs_rename", (inst_t *)__return_address); 251 xfs_itrace_entry(xfs_vtoi(target_dir_vp));
252 252
253 /* 253 /*
254 * Find the XFS behavior descriptor for the target directory 254 * Find the XFS behavior descriptor for the target directory