mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
dlm: fix uninitialized spinlock
Use DEFINE_SPINLOCK for global dlm_cb_seq_spin. Signed-off-by: David Teigland <teigland@redhat.com>
This commit is contained in:
parent
36b71a8bfb
commit
6ad2291624
@ -15,8 +15,8 @@
|
||||
#include "lock.h"
|
||||
#include "user.h"
|
||||
|
||||
static uint64_t dlm_cb_seq;
|
||||
static spinlock_t dlm_cb_seq_spin;
|
||||
static uint64_t dlm_cb_seq;
|
||||
static DEFINE_SPINLOCK(dlm_cb_seq_spin);
|
||||
|
||||
static void dlm_dump_lkb_callbacks(struct dlm_lkb *lkb)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user