dlm: rearrange async condition return
authorAlexander Aring <aahringo@redhat.com>
Mon, 4 Apr 2022 20:06:33 +0000 (16:06 -0400)
committerDavid Teigland <teigland@redhat.com>
Wed, 6 Apr 2022 19:02:05 +0000 (14:02 -0500)
commita800ba77fd285c6391a82819867ac64e9ab3af46
tree2592028e9e2ca5e4d48e7817b791aaf19cde0793
parentbcbb4ba6c9ba81e6975b642a2cade68044cd8a66
dlm: rearrange async condition return

This patch moves the return of FILE_LOCK_DEFERRED a little bit earlier
than checking afterwards again if the request was an asynchronous request.

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