From: Alexander Aring Date: Thu, 20 Jul 2023 12:22:39 +0000 (-0400) Subject: fs: dlm: remove twice newline X-Git-Tag: v6.6-rc1~112^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=99c58d6480d937dbdc2b4acfdea1bcf7ab113e5e;p=thirdparty%2Fkernel%2Flinux.git fs: dlm: remove twice newline This patch removes a newline which log_print() already adds, also removes wrapped string that causes a checkpatch warning. Signed-off-by: Alexander Aring Signed-off-by: David Teigland --- diff --git a/fs/dlm/plock.c b/fs/dlm/plock.c index 70a4752ed913a..a34f605d8505b 100644 --- a/fs/dlm/plock.c +++ b/fs/dlm/plock.c @@ -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; }