diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_vnode.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_vnode.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vnode.c b/fs/xfs/linux-2.6/xfs_vnode.c index 814169fd7e1e..e16b3e40015d 100644 --- a/fs/xfs/linux-2.6/xfs_vnode.c +++ b/fs/xfs/linux-2.6/xfs_vnode.c | |||
@@ -143,7 +143,7 @@ __vn_revalidate( | |||
143 | { | 143 | { |
144 | int error; | 144 | int error; |
145 | 145 | ||
146 | vn_trace_entry(xfs_vtoi(vp), __FUNCTION__, (inst_t *)__return_address); | 146 | xfs_itrace_entry(xfs_vtoi(vp)); |
147 | vattr->va_mask = XFS_AT_STAT | XFS_AT_XFLAGS; | 147 | vattr->va_mask = XFS_AT_STAT | XFS_AT_XFLAGS; |
148 | error = xfs_getattr(xfs_vtoi(vp), vattr, 0); | 148 | error = xfs_getattr(xfs_vtoi(vp), vattr, 0); |
149 | if (likely(!error)) { | 149 | if (likely(!error)) { |
@@ -179,7 +179,7 @@ vn_hold( | |||
179 | return vp; | 179 | return vp; |
180 | } | 180 | } |
181 | 181 | ||
182 | #ifdef XFS_VNODE_TRACE | 182 | #ifdef XFS_INODE_TRACE |
183 | 183 | ||
184 | /* | 184 | /* |
185 | * Reference count of Linux inode if present, -1 if the xfs_inode | 185 | * Reference count of Linux inode if present, -1 if the xfs_inode |
@@ -211,32 +211,32 @@ static inline int xfs_icount(struct xfs_inode *ip) | |||
211 | * Vnode tracing code. | 211 | * Vnode tracing code. |
212 | */ | 212 | */ |
213 | void | 213 | void |
214 | vn_trace_entry(xfs_inode_t *ip, const char *func, inst_t *ra) | 214 | _xfs_itrace_entry(xfs_inode_t *ip, const char *func, inst_t *ra) |
215 | { | 215 | { |
216 | KTRACE_ENTER(ip, VNODE_KTRACE_ENTRY, func, 0, ra); | 216 | KTRACE_ENTER(ip, INODE_KTRACE_ENTRY, func, 0, ra); |
217 | } | 217 | } |
218 | 218 | ||
219 | void | 219 | void |
220 | vn_trace_exit(xfs_inode_t *ip, const char *func, inst_t *ra) | 220 | _xfs_itrace_exit(xfs_inode_t *ip, const char *func, inst_t *ra) |
221 | { | 221 | { |
222 | KTRACE_ENTER(ip, VNODE_KTRACE_EXIT, func, 0, ra); | 222 | KTRACE_ENTER(ip, INODE_KTRACE_EXIT, func, 0, ra); |
223 | } | 223 | } |
224 | 224 | ||
225 | void | 225 | void |
226 | vn_trace_hold(xfs_inode_t *ip, char *file, int line, inst_t *ra) | 226 | xfs_itrace_hold(xfs_inode_t *ip, char *file, int line, inst_t *ra) |
227 | { | 227 | { |
228 | KTRACE_ENTER(ip, VNODE_KTRACE_HOLD, file, line, ra); | 228 | KTRACE_ENTER(ip, INODE_KTRACE_HOLD, file, line, ra); |
229 | } | 229 | } |
230 | 230 | ||
231 | void | 231 | void |
232 | vn_trace_ref(xfs_inode_t *ip, char *file, int line, inst_t *ra) | 232 | _xfs_itrace_ref(xfs_inode_t *ip, char *file, int line, inst_t *ra) |
233 | { | 233 | { |
234 | KTRACE_ENTER(ip, VNODE_KTRACE_REF, file, line, ra); | 234 | KTRACE_ENTER(ip, INODE_KTRACE_REF, file, line, ra); |
235 | } | 235 | } |
236 | 236 | ||
237 | void | 237 | void |
238 | vn_trace_rele(xfs_inode_t *ip, char *file, int line, inst_t *ra) | 238 | xfs_itrace_rele(xfs_inode_t *ip, char *file, int line, inst_t *ra) |
239 | { | 239 | { |
240 | KTRACE_ENTER(ip, VNODE_KTRACE_RELE, file, line, ra); | 240 | KTRACE_ENTER(ip, INODE_KTRACE_RELE, file, line, ra); |
241 | } | 241 | } |
242 | #endif /* XFS_VNODE_TRACE */ | 242 | #endif /* XFS_INODE_TRACE */ |