fs: dlm: handle rcom in else if branch
authorAlexander Aring <aahringo@redhat.com>
Mon, 15 Aug 2022 19:43:21 +0000 (15:43 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 23 Aug 2022 19:53:59 +0000 (14:53 -0500)
commitf45307d395da7ab1aa537cf00e8fd7123a2be4e2
treef5c85cf1038b07b770366b43e10bebe40356a57e
parentb5c9d37c7f6051b45b2da70e434e791080dcb53f
fs: dlm: handle rcom in else if branch

Currently we handle in dlm_receive_buffer() everything else than a
DLM_MSG type as DLM_RCOM message. Although a different message than
DLM_MSG should be a DLM_RCOM we should explicit check on DLM_RCOM and
drop a log_error() if we see something unexpected.

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