fs: dlm: store lkb distributed flags into own value
authorAlexander Aring <aahringo@redhat.com>
Mon, 6 Mar 2023 20:48:14 +0000 (15:48 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 6 Mar 2023 21:49:07 +0000 (15:49 -0600)
commit8c11ba64ce577a993701616e335319a0afbbd49a
treec5c9f015a3c4d79d9470752177871e92076ec80d
parent9f48eead5ea4c55692dd5628699a0d5715416615
fs: dlm: store lkb distributed flags into own value

This patch stores lkb distributed flags value in an separate value
instead of sharing internal and distributed flags in lkb->lkb_flags value.
This has the advantage to not mask/write back flag values in
receive_flags() functionality. The dlm debug_fs does not provide the
distributed flags anymore, those can be added in future.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/ast.c
fs/dlm/debug_fs.c
fs/dlm/dlm_internal.h
fs/dlm/lock.c
fs/dlm/memory.c
fs/dlm/rcom.c
fs/dlm/user.c
include/trace/events/dlm.h