gfs2: Make recovery error more readable
authorBob Peterson <rpeterso@redhat.com>
Mon, 26 Jul 2021 17:53:12 +0000 (12:53 -0500)
committerBob Peterson <rpeterso@redhat.com>
Fri, 20 Aug 2021 14:03:46 +0000 (09:03 -0500)
Before this patch, withdraws could cause an error that looked like:
Journal recovery skipped for 0 until next mount.
This patch changes it to a more readable:
Journal recovery skipped for jid 0 until next mount.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/util.c

index f4325b4..34087bb 100644 (file)
@@ -295,7 +295,7 @@ skip_recovery:
                fs_warn(sdp, "Journal recovery complete for jid %d.\n",
                        sdp->sd_lockstruct.ls_jid);
        else
-               fs_warn(sdp, "Journal recovery skipped for %d until next "
+               fs_warn(sdp, "Journal recovery skipped for jid %d until next "
                        "mount.\n", sdp->sd_lockstruct.ls_jid);
        fs_warn(sdp, "Glock dequeues delayed: %lu\n", sdp->sd_glock_dqs_held);
        sdp->sd_glock_dqs_held = 0;