From cef4b03b8c2ada778776db70654267e8edbeb68d Mon Sep 17 00:00:00 2001 From: Arshad Hussain Date: Fri, 2 Feb 2024 17:49:47 +0530 Subject: [PATCH] LU-6142 fid: Fix style issues for fid_lib/lproc_fid.c This patch fixes issues reported by checkpatch for file lustre/fid/fid_lib.c and lustre/fid/lproc_fid.c Test-Parameters: trivial Signed-off-by: Arshad Hussain Change-Id: I829027962170e9494e6ff726804a579dd987dc17 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53887 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Timothy Day Reviewed-by: Oleg Drokin --- lustre/fid/fid_lib.c | 4 ++-- lustre/fid/lproc_fid.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lustre/fid/fid_lib.c b/lustre/fid/fid_lib.c index c719d01..2d247a6 100644 --- a/lustre/fid/fid_lib.c +++ b/lustre/fid/fid_lib.c @@ -69,8 +69,8 @@ const struct lu_seq_range LUSTRE_SEQ_ZERO_RANGE = { /* Lustre Big Fs Lock fid. */ const struct lu_fid LUSTRE_BFL_FID = { .f_seq = FID_SEQ_SPECIAL, - .f_oid = FID_OID_SPECIAL_BFL, - .f_ver = 0x0000000000000000 }; + .f_oid = FID_OID_SPECIAL_BFL, + .f_ver = 0x0000000000000000 }; EXPORT_SYMBOL(LUSTRE_BFL_FID); /** Special fid for "lost+found" special object in .lustre */ diff --git a/lustre/fid/lproc_fid.c b/lustre/fid/lproc_fid.c index 2167609..df300bb 100644 --- a/lustre/fid/lproc_fid.c +++ b/lustre/fid/lproc_fid.c @@ -147,7 +147,7 @@ ldebugfs_server_fid_server_seq_show(struct seq_file *m, void *unused) seq_printf(m, "%s\n", cli->cl_target_uuid.uuid); } else { seq_printf(m, "%s\n", seq->lss_cli->lcs_srv->lss_name); - } + } } else { seq_puts(m, "\n"); } @@ -517,8 +517,8 @@ ldebugfs_client_fid_space_seq_write(struct file *file, mutex_lock(&seq->lcs_mutex); rc = ldebugfs_fid_write_common(buffer, count, &seq->lcs_space); if (rc == 0) { - CDEBUG(D_INFO, "%s: Space: " DRANGE "\n", - seq->lcs_name, PRANGE(&seq->lcs_space)); + CDEBUG(D_INFO, "%s: Space: " DRANGE "\n", seq->lcs_name, + PRANGE(&seq->lcs_space)); } mutex_unlock(&seq->lcs_mutex); -- 1.8.3.1