fs: dlm: disallow buffer size below default
authorAlexander Aring <aahringo@redhat.com>
Thu, 24 Sep 2020 14:31:25 +0000 (10:31 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 29 Sep 2020 19:00:32 +0000 (14:00 -0500)
commit4e192ee68e5af301470a925b76700d788db35d96
treee76c51d5ff054fc431ca6a6b05dfae86e485f9a8
parente1a0ec30a571f176e9b324daba4c0e3f200fe882
fs: dlm: disallow buffer size below default

I observed that the upper layer will not send messages above this value.
As conclusion the application receive buffer should not below that
value, otherwise we are not capable to deliver the dlm message to the
upper layer. This patch forbids to set the receive buffer below the
maximum possible dlm message size.

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