]> git.baikalelectronics.ru Git - kernel.git/commit
fs: dlm: handle recovery result outside of ls_recover
authorAlexander Aring <aahringo@redhat.com>
Wed, 22 Jun 2022 18:45:16 +0000 (14:45 -0400)
committerDavid Teigland <teigland@redhat.com>
Fri, 24 Jun 2022 16:57:48 +0000 (11:57 -0500)
commit23de9152d2068a1e26974486b88b07f1bbf65db2
treed8816fb8c2b6113952de7683ecf978215c85667f
parentf29cd7a08e4f78c998fbca013bfc81b3491bc5fa
fs: dlm: handle recovery result outside of ls_recover

This patch cleans up the handling of recovery results by moving it from
ls_recover() to the caller do_ls_recovery(). This makes the error handling
clearer.

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