Commit 97e7a0f8 authored by Alexander Aring's avatar Alexander Aring Committed by Greg Kroah-Hartman
Browse files

dlm: rearrange async condition return



[ Upstream commit a800ba77 ]

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: default avatarAlexander Aring <aahringo@redhat.com>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
Stable-dep-of: 59e45c75 ("fs: dlm: interrupt posix locks only when process is killed")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 75ce95ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment