aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/plock.c
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2023-07-20 08:22:39 -0400
committerDavid Teigland <teigland@redhat.com>2023-07-20 17:24:36 -0500
commit99c58d6480d937dbdc2b4acfdea1bcf7ab113e5e (patch)
tree46771485b1523e7b510843e447523153b353c634 /fs/dlm/plock.c
parentfdf0eaf11452d72945af31804e2a1048ee1b574c (diff)
downloadlinux-99c58d6480d937dbdc2b4acfdea1bcf7ab113e5e.tar.gz
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 <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/plock.c')
-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 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;
}