Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

dlm: fix uninitialized spinlock



Use DEFINE_SPINLOCK for global dlm_cb_seq_spin.

Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent 36b71a8b
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@
#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)
{
{