[Cluster-devel] [PATCHv4 v6.5-rc2 1/3] fs: dlm: remove twice newline

Alexander Aring aahringo at redhat.com
Thu Jul 20 12:22:39 UTC 2023


This patch removes a newline which log_print() already adds, also
removes wrapped string that causes a checkpatch warning.
---
 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



More information about the Cluster-devel mailing list