fs: dlm: introduce con_next_wq helper
authorAlexander Aring <aahringo@redhat.com>
Fri, 16 Jul 2021 20:22:39 +0000 (16:22 -0400)
committerDavid Teigland <teigland@redhat.com>
Mon, 19 Jul 2021 16:53:43 +0000 (11:53 -0500)
commit66d5955a098d504b5a34c35d56a967c536264673
tree65d455a70197de80efe976ca16e2cb92d976b6c8
parent88aa023a2556aae92664f135eae794be9449e4f3
fs: dlm: introduce con_next_wq helper

This patch introduce a function to determine if something is ready to
being send in the writequeue. It's not just that the writequeue is not
empty additional the first entry need to have a valid length field.

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