Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 84447
b: refs/heads/master
c: 3a0e487
h: refs/heads/master
i:
  84445: dc1343b
  84443: 54812bc
  84439: 6289892
  84431: 37ba56f
  84415: 7cabf65
v: v3
  • Loading branch information
Eric Sandeen authored and Lachlan McIlroy committed Feb 7, 2008
1 parent fa6a515 commit a4fa3ef
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3685c2a1d773781608c9e281a6ff6b4c8ea8f6f9
refs/heads/master: 3a0e487034107c0859b8a0d71d14b5c8988d356b
4 changes: 0 additions & 4 deletions trunk/fs/xfs/support/ktrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ ktrace_alloc(int nentries, unsigned int __nocast sleep)
return NULL;
}

spinlock_init(&(ktp->kt_lock), "kt_lock");

ktp->kt_entries = ktep;
ktp->kt_nentries = nentries;
ktp->kt_index = 0;
Expand All @@ -114,8 +112,6 @@ ktrace_free(ktrace_t *ktp)
if (ktp == (ktrace_t *)NULL)
return;

spinlock_destroy(&ktp->kt_lock);

/*
* Special treatment for the Vnode trace buffer.
*/
Expand Down
1 change: 0 additions & 1 deletion trunk/fs/xfs/support/ktrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ typedef struct ktrace_entry {
* Trace buffer header structure.
*/
typedef struct ktrace {
lock_t kt_lock; /* mutex to guard counters */
int kt_nentries; /* number of entries in trace buf */
int kt_index; /* current index in entries */
int kt_rollover;
Expand Down

0 comments on commit a4fa3ef

Please sign in to comment.