diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/support/ktrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/support/ktrace.c b/fs/xfs/support/ktrace.c index 3dae14c8c55a..fa8394f9437d 100644 --- a/fs/xfs/support/ktrace.c +++ b/fs/xfs/support/ktrace.c | |||
@@ -170,7 +170,7 @@ ktrace_enter( | |||
170 | void *val14, | 170 | void *val14, |
171 | void *val15) | 171 | void *val15) |
172 | { | 172 | { |
173 | static lock_t wrap_lock = SPIN_LOCK_UNLOCKED; | 173 | static DEFINE_SPINLOCK(wrap_lock); |
174 | unsigned long flags; | 174 | unsigned long flags; |
175 | int index; | 175 | int index; |
176 | ktrace_entry_t *ktep; | 176 | ktrace_entry_t *ktep; |