dlm: rearrange async condition return
stable inclusion from stable-v5.10.190 commit 0f6741acfd5bd221bc5ca2abcfbbd225b103afdb category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I928UI Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0f6741acfd5bd221bc5ca2abcfbbd225b103afdb -------------------------------- [ 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:Alexander Aring <aahringo@redhat.com> Signed-off-by:
David Teigland <teigland@redhat.com> Stable-dep-of: 59e45c75 ("fs: dlm: interrupt posix locks only when process is killed") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment