Commit 6ad22916 authored by David Teigland's avatar David Teigland

dlm: fix uninitialized spinlock

Use DEFINE_SPINLOCK for global dlm_cb_seq_spin.
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent 36b71a8b
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
#include "lock.h" #include "lock.h"
#include "user.h" #include "user.h"
static uint64_t dlm_cb_seq; static uint64_t dlm_cb_seq;
static spinlock_t dlm_cb_seq_spin; static DEFINE_SPINLOCK(dlm_cb_seq_spin);
static void dlm_dump_lkb_callbacks(struct dlm_lkb *lkb) static void dlm_dump_lkb_callbacks(struct dlm_lkb *lkb)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment