fs: dlm: switch lkb_sbflags to atomic ops
authorAlexander Aring <aahringo@redhat.com>
Mon, 6 Mar 2023 20:48:18 +0000 (15:48 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 6 Mar 2023 21:49:07 +0000 (15:49 -0600)
commit1361737f102d898330fd61efa5940c1ee0812da1
treeca5f173e986ffe666e333e2c1ff25abd3928d227
parent46d6e722d8b1cf07d21662f6b29bcd8e72f77305
fs: dlm: switch lkb_sbflags to atomic ops

This patch moves lkb_sbflags handling to atomic bits ops. This should
prepare for a possible manipulating of lkb_sbflags flags at the same
time by concurrent execution.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/dlm_internal.h
fs/dlm/lock.c