fs: dlm: remove twice newline
authorAlexander Aring <aahringo@redhat.com>
Thu, 20 Jul 2023 12:22:39 +0000 (08:22 -0400)
committerDavid Teigland <teigland@redhat.com>
Thu, 20 Jul 2023 22:24:36 +0000 (17:24 -0500)
This patch removes a newline which log_print() already adds, also
removes wrapped string that causes a checkpatch warning.

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

index 70a4752ed913a48991ae3562f73e72db36eadfa3..a34f605d8505b2dceaa096982d19608091145485 100644 (file)
@@ -240,8 +240,8 @@ static int dlm_plock_callback(struct plock_op *op)
        rv = notify(fl, 0);
        if (rv) {
                /* XXX: We need to cancel the fs lock here: */
-               log_print("dlm_plock_callback: lock granted after lock request "
-                         "failed; dangling lock!\n");
+               log_print("%s: lock granted after lock request failed; dangling lock!",
+                         __func__);
                goto out;
        }