aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Aring <[email protected]>2023-07-20 08:22:39 -0400
committerDavid Teigland <[email protected]>2023-07-20 17:24:36 -0500
commit99c58d6480d937dbdc2b4acfdea1bcf7ab113e5e (patch)
tree46771485b1523e7b510843e447523153b353c634
parentfdf0eaf11452d72945af31804e2a1048ee1b574c (diff)
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 <[email protected]> Signed-off-by: David Teigland <[email protected]>
-rw-r--r--fs/dlm/plock.c4
1 files 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;
}