[lustre-devel] [PATCH 12/22] lustre: llite: remove linefeed from LDLM_DEBUG

James Simmons jsimmons at infradead.org
Sun Nov 20 06:16:58 PST 2022

From: Alex Zhuravlev <bzzz at whamcloud.com>

to make the corresponding messages single-line

WC-bug-id: https://jira.whamcloud.com/browse/LU-15825
Lustre-commit: 93784852c8f20b27c ("LU-15825 ldlm: remove linefeed from LDLM_DEBUG")
Signed-off-by: Alex Zhuravlev <bzzz at whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/47219
Reviewed-by: James Simmons <jsimmons at infradead.org>
Reviewed-by: Andreas Dilger <adilger at whamcloud.com>
Reviewed-by: Oleg Drokin <green at whamcloud.com>
Signed-off-by: James Simmons <jsimmons at infradead.org>
 fs/lustre/llite/namei.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/lustre/llite/namei.c b/fs/lustre/llite/namei.c
index 5ac634c..93abec8 100644
--- a/fs/lustre/llite/namei.c
+++ b/fs/lustre/llite/namei.c
@@ -233,7 +233,7 @@ static void ll_lock_cancel_bits(struct ldlm_lock *lock, u64 to_cancel)
 		if (lock->l_resource->lr_lvb_inode)
-				   "can't take inode for the lock (%sevicted)\n",
+				   "can't take inode for the lock (%sevicted)",
 				   lock->l_resource->lr_lvb_inode->i_state &
 				   I_FREEING ? "" : "not ");

More information about the lustre-devel mailing list