fs: dlm: constify receive buffer
authorAlexander Aring <aahringo@redhat.com>
Tue, 1 Aug 2023 18:09:48 +0000 (14:09 -0400)
committerDavid Teigland <teigland@redhat.com>
Thu, 10 Aug 2023 15:33:03 +0000 (10:33 -0500)
commit1151935182b40bbe398905850f6f7f4fbb262e06
tree1a15caa862be793db9bf5413c1620fbe22848cbf
parentb9d2f6ada0083bad46f37a1238fea718b575e0fa
fs: dlm: constify receive buffer

The dlm receive buffer should be never manipulated as DLM is the last
instance of parsing layer. This patch constify the whole receive buffer
so we are sure it never gets manipulated when it's being parsed.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
13 files changed:
fs/dlm/dir.c
fs/dlm/dir.h
fs/dlm/lock.c
fs/dlm/lock.h
fs/dlm/member.c
fs/dlm/member.h
fs/dlm/midcomms.c
fs/dlm/rcom.c
fs/dlm/rcom.h
fs/dlm/recover.c
fs/dlm/recover.h
fs/dlm/requestqueue.c
fs/dlm/requestqueue.h