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)
commit3182599f5fff93a30bc094a4a20924eea47fcf42
treed8816fb8c2b6113952de7683ecf978215c85667f
parent682bb91b6ba829e4efc635630610444141ee567d
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