Skip to content

Commit 99c58d6

Browse files
Alexander Aringteigland
authored andcommitted
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>
1 parent fdf0eaf commit 99c58d6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fs/dlm/plock.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ static int dlm_plock_callback(struct plock_op *op)
240240
rv = notify(fl, 0);
241241
if (rv) {
242242
/* XXX: We need to cancel the fs lock here: */
243-
log_print("dlm_plock_callback: lock granted after lock request "
244-
"failed; dangling lock!\n");
243+
log_print("%s: lock granted after lock request failed; dangling lock!",
244+
__func__);
245245
goto out;
246246
}
247247

0 commit comments

Comments
 (0)