From a4fa3ef9184db66475b48e1254d876d48bdcd4ac Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Thu, 11 Oct 2007 17:43:32 +1000 Subject: [PATCH] --- yaml --- r: 84447 b: refs/heads/master c: 3a0e487034107c0859b8a0d71d14b5c8988d356b h: refs/heads/master i: 84445: dc1343b09c1d90f6344edfa5bfb8e79eeb28e9fb 84443: 54812bc322b3351f3b91f2a7df6b5d2035f9703f 84439: 6289892c99bc9d215c5af6a86dd92af0ab18e907 84431: 37ba56ff2257a4fd00c1dca51b9ab41e177cbff0 84415: 7cabf65ad9d1bcff15cf31b9f8c2135d79c8f206 v: v3 --- [refs] | 2 +- trunk/fs/xfs/support/ktrace.c | 4 ---- trunk/fs/xfs/support/ktrace.h | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 32526d074ac2..df9a74212859 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3685c2a1d773781608c9e281a6ff6b4c8ea8f6f9 +refs/heads/master: 3a0e487034107c0859b8a0d71d14b5c8988d356b diff --git a/trunk/fs/xfs/support/ktrace.c b/trunk/fs/xfs/support/ktrace.c index 5cf2e86caa71..119611ec21d3 100644 --- a/trunk/fs/xfs/support/ktrace.c +++ b/trunk/fs/xfs/support/ktrace.c @@ -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; @@ -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. */ diff --git a/trunk/fs/xfs/support/ktrace.h b/trunk/fs/xfs/support/ktrace.h index 0d73216287c0..1e6d4a38ba28 100644 --- a/trunk/fs/xfs/support/ktrace.h +++ b/trunk/fs/xfs/support/ktrace.h @@ -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;