diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_vnode.c | 4 | ||||
-rw-r--r-- | fs/xfs/linux-2.6/xfs_vnode.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vnode.c b/fs/xfs/linux-2.6/xfs_vnode.c index 849c61c74f3c..4b1b1bcdb6b3 100644 --- a/fs/xfs/linux-2.6/xfs_vnode.c +++ b/fs/xfs/linux-2.6/xfs_vnode.c | |||
@@ -424,13 +424,13 @@ vn_remove( | |||
424 | * Vnode tracing code. | 424 | * Vnode tracing code. |
425 | */ | 425 | */ |
426 | void | 426 | void |
427 | vn_trace_entry(vnode_t *vp, char *func, inst_t *ra) | 427 | vn_trace_entry(vnode_t *vp, const char *func, inst_t *ra) |
428 | { | 428 | { |
429 | KTRACE_ENTER(vp, VNODE_KTRACE_ENTRY, func, 0, ra); | 429 | KTRACE_ENTER(vp, VNODE_KTRACE_ENTRY, func, 0, ra); |
430 | } | 430 | } |
431 | 431 | ||
432 | void | 432 | void |
433 | vn_trace_exit(vnode_t *vp, char *func, inst_t *ra) | 433 | vn_trace_exit(vnode_t *vp, const char *func, inst_t *ra) |
434 | { | 434 | { |
435 | KTRACE_ENTER(vp, VNODE_KTRACE_EXIT, func, 0, ra); | 435 | KTRACE_ENTER(vp, VNODE_KTRACE_EXIT, func, 0, ra); |
436 | } | 436 | } |
diff --git a/fs/xfs/linux-2.6/xfs_vnode.h b/fs/xfs/linux-2.6/xfs_vnode.h index 4ee229301241..00466c3194ac 100644 --- a/fs/xfs/linux-2.6/xfs_vnode.h +++ b/fs/xfs/linux-2.6/xfs_vnode.h | |||
@@ -648,8 +648,8 @@ static inline int VN_BAD(struct vnode *vp) | |||
648 | #define VNODE_KTRACE_REF 4 | 648 | #define VNODE_KTRACE_REF 4 |
649 | #define VNODE_KTRACE_RELE 5 | 649 | #define VNODE_KTRACE_RELE 5 |
650 | 650 | ||
651 | extern void vn_trace_entry(struct vnode *, char *, inst_t *); | 651 | extern void vn_trace_entry(struct vnode *, const char *, inst_t *); |
652 | extern void vn_trace_exit(struct vnode *, char *, inst_t *); | 652 | extern void vn_trace_exit(struct vnode *, const char *, inst_t *); |
653 | extern void vn_trace_hold(struct vnode *, char *, int, inst_t *); | 653 | extern void vn_trace_hold(struct vnode *, char *, int, inst_t *); |
654 | extern void vn_trace_ref(struct vnode *, char *, int, inst_t *); | 654 | extern void vn_trace_ref(struct vnode *, char *, int, inst_t *); |
655 | extern void vn_trace_rele(struct vnode *, char *, int, inst_t *); | 655 | extern void vn_trace_rele(struct vnode *, char *, int, inst_t *); |