From: Arshad Hussain Date: Fri, 2 Feb 2024 12:19:47 +0000 (+0530) Subject: LU-6142 fid: Fix style issues for fid_lib/lproc_fid.c X-Git-Tag: 2.15.61~46 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F87%2F53887%2F3;p=fs%2Flustre-release.git 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 --- 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);