diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_vnode.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_vnode.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vnode.c b/fs/xfs/linux-2.6/xfs_vnode.c index 849c61c74f3c..a832d165f24f 100644 --- a/fs/xfs/linux-2.6/xfs_vnode.c +++ b/fs/xfs/linux-2.6/xfs_vnode.c | |||
@@ -156,7 +156,6 @@ vn_initialize( | |||
156 | 156 | ||
157 | #ifdef XFS_VNODE_TRACE | 157 | #ifdef XFS_VNODE_TRACE |
158 | vp->v_trace = ktrace_alloc(VNODE_TRACE_SIZE, KM_SLEEP); | 158 | vp->v_trace = ktrace_alloc(VNODE_TRACE_SIZE, KM_SLEEP); |
159 | printk("Allocated VNODE_TRACE at 0x%p\n", vp->v_trace); | ||
160 | #endif /* XFS_VNODE_TRACE */ | 159 | #endif /* XFS_VNODE_TRACE */ |
161 | 160 | ||
162 | vn_trace_exit(vp, "vn_initialize", (inst_t *)__return_address); | 161 | vn_trace_exit(vp, "vn_initialize", (inst_t *)__return_address); |
@@ -424,13 +423,13 @@ vn_remove( | |||
424 | * Vnode tracing code. | 423 | * Vnode tracing code. |
425 | */ | 424 | */ |
426 | void | 425 | void |
427 | vn_trace_entry(vnode_t *vp, char *func, inst_t *ra) | 426 | vn_trace_entry(vnode_t *vp, const char *func, inst_t *ra) |
428 | { | 427 | { |
429 | KTRACE_ENTER(vp, VNODE_KTRACE_ENTRY, func, 0, ra); | 428 | KTRACE_ENTER(vp, VNODE_KTRACE_ENTRY, func, 0, ra); |
430 | } | 429 | } |
431 | 430 | ||
432 | void | 431 | void |
433 | vn_trace_exit(vnode_t *vp, char *func, inst_t *ra) | 432 | vn_trace_exit(vnode_t *vp, const char *func, inst_t *ra) |
434 | { | 433 | { |
435 | KTRACE_ENTER(vp, VNODE_KTRACE_EXIT, func, 0, ra); | 434 | KTRACE_ENTER(vp, VNODE_KTRACE_EXIT, func, 0, ra); |
436 | } | 435 | } |