diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2023-12-20 17:16:29 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2023-12-20 21:29:40 +0100 |
commit | 4d927b03a68846e4e791ccde6b4c274df02f11e9 (patch) | |
tree | d43ded1a418bf2ad03f884a9ea4e079d4069e0eb /fs/gfs2/recovery.c | |
parent | gfs2: Mark withdraws as unlikely (diff) | |
download | linux-4d927b03a68846e4e791ccde6b4c274df02f11e9.tar.xz linux-4d927b03a68846e4e791ccde6b4c274df02f11e9.zip |
gfs2: Rename gfs2_withdrawn to gfs2_withdrawing_or_withdrawn
This function checks whether the filesystem has been been marked to be
withdrawn eventually or has been withdrawn already. Rename this
function to avoid confusing code like checking for gfs2_withdrawing()
when gfs2_withdrawn() has already returned true.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/recovery.c')
-rw-r--r-- | fs/gfs2/recovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/recovery.c b/fs/gfs2/recovery.c index 5aae02669a40..f4fe7039f725 100644 --- a/fs/gfs2/recovery.c +++ b/fs/gfs2/recovery.c @@ -411,7 +411,7 @@ void gfs2_recover_func(struct work_struct *work) int error = 0; int jlocked = 0; - if (gfs2_withdrawn(sdp)) { + if (gfs2_withdrawing_or_withdrawn(sdp)) { fs_err(sdp, "jid=%u: Recovery not attempted due to withdraw.\n", jd->jd_jid); goto fail; |