fs: dlm: move receive loop into receive handler
authorAlexander Aring <aahringo@redhat.com>
Fri, 16 Jul 2021 20:22:45 +0000 (16:22 -0400)
committerDavid Teigland <teigland@redhat.com>
Mon, 19 Jul 2021 16:56:36 +0000 (11:56 -0500)
commit62699b3f0a62435fceb8debf295e90a5ea259e04
treed4a5ebc2b7ef9323f0644a91aef964ceaec8184b
parentc51b0221798b695ac1beac6597d3a0acf039384b
fs: dlm: move receive loop into receive handler

This patch moves the kernel_recvmsg() loop call into the
receive_from_sock() function instead of doing the loop outside the
function and abort the loop over it's return value.

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