[PATCH 02/12] dlm: drop unneeded newline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



log_print prints a newline at the end of the message string, so
the message string does not need to include a newline explicitly.
Done using Coccinelle.

The two strings were additionally merged into one, for easier
grepping.

Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxx>

---
 fs/dlm/plock.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/fs/dlm/plock.c b/fs/dlm/plock.c
index a4c63e9..ee84584 100644
--- a/fs/dlm/plock.c
+++ b/fs/dlm/plock.c
@@ -231,8 +231,7 @@ 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("dlm_plock_callback: lock granted after lock request failed; dangling lock!");
 		goto out;
 	}
 

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux