]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf3734610bb5f0ca39ceac08c50c535b1c4efc0b2
treed4a5ebc2b7ef9323f0644a91aef964ceaec8184b
parentda640931e9f64acefef4e21617e12f5f60219ffe
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