From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Aring Date: Tue, 18 Jul 2023 14:07:19 -0400 Subject: [Cluster-devel] [PATCHv3 v6.5-rc2 1/3] fs: dlm: remove twice newline In-Reply-To: <20230718180721.745569-1-aahringo@redhat.com> References: <20230718180721.745569-1-aahringo@redhat.com> Message-ID: <20230718180721.745569-2-aahringo@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit This patch removes a newline which log_print() already adds, also removes wrapped string that causes a checkpatch warning. Signed-off-by: Alexander Aring --- fs/dlm/plock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/dlm/plock.c b/fs/dlm/plock.c index 70a4752ed913..a34f605d8505 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; } -- 2.31.1