From: James Simmons <jsimmons@infradead.org>
To: lustre-devel@lists.lustre.org
Subject: [lustre-devel] [PATCH 03/11] lustre: fid: checkpatch cleanup
Date: Sun, 21 Jul 2019 21:52:10 -0400 [thread overview]
Message-ID: <1563760338-806-4-git-send-email-jsimmons@infradead.org> (raw)
In-Reply-To: <1563760338-806-1-git-send-email-jsimmons@infradead.org>
Various checkpatch errors exist in the fid /fld layer. This work
address all of those issues making this layer checkpatch error
free.
Signed-off-by: James Simmons <jsimmons@infradead.org>
---
fs/lustre/fid/fid_request.c | 1 -
fs/lustre/fid/lproc_fid.c | 3 ++-
fs/lustre/fld/fld_internal.h | 5 +++--
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/fs/lustre/fid/fid_request.c b/fs/lustre/fid/fid_request.c
index 45dd275..cdf5402 100644
--- a/fs/lustre/fid/fid_request.c
+++ b/fs/lustre/fid/fid_request.c
@@ -267,7 +267,6 @@ int seq_client_alloc_fid(const struct lu_env *env,
*/
void seq_client_flush(struct lu_client_seq *seq)
{
-
LASSERT(seq);
spin_lock(&seq->lcs_lock);
diff --git a/fs/lustre/fid/lproc_fid.c b/fs/lustre/fid/lproc_fid.c
index d7d23b4..94869d4 100644
--- a/fs/lustre/fid/lproc_fid.c
+++ b/fs/lustre/fid/lproc_fid.c
@@ -131,7 +131,8 @@
if (seq->lcs_update)
rc = -EBUSY;
else
- seq_printf(m, "[%#llx - %#llx]:%x:%s\n", PRANGE(&seq->lcs_space));
+ seq_printf(m, "[%#llx - %#llx]:%x:%s\n",
+ PRANGE(&seq->lcs_space));
spin_unlock(&seq->lcs_lock);
return rc;
diff --git a/fs/lustre/fld/fld_internal.h b/fs/lustre/fld/fld_internal.h
index e2eda59..465c6ccf 100644
--- a/fs/lustre/fld/fld_internal.h
+++ b/fs/lustre/fld/fld_internal.h
@@ -70,8 +70,9 @@ struct fld_stats {
struct lu_fld_hash {
const char *fh_name;
- int (*fh_hash_func)(struct lu_client_fld *, u64);
- struct lu_fld_target *(*fh_scan_func)(struct lu_client_fld *, u64);
+ int (*fh_hash_func)(struct lu_client_fld *fld, u64 seq);
+ struct lu_fld_target *(*fh_scan_func)(struct lu_client_fld *fld,
+ u64 seq);
};
struct fld_cache_entry {
--
1.8.3.1
next prev parent reply other threads:[~2019-07-22 1:52 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-22 1:52 [lustre-devel] [PATCH 00/11] lustre: cleanup most check patch issues James Simmons
2019-07-22 1:52 ` [lustre-devel] [PATCH 01/11] lustre: ptlrpc: checkpatch cleanup James Simmons
2019-07-22 1:52 ` [lustre-devel] [PATCH 02/11] lustre: llite: " James Simmons
2019-07-22 1:52 ` James Simmons [this message]
2019-07-22 1:52 ` [lustre-devel] [PATCH 04/11] lustre: mgc: " James Simmons
2019-07-22 1:52 ` [lustre-devel] [PATCH 05/11] lustre: lmv: " James Simmons
2019-07-22 1:52 ` [lustre-devel] [PATCH 06/11] lustre: mdc: " James Simmons
2019-07-22 1:52 ` [lustre-devel] [PATCH 07/11] lustre: osc: " James Simmons
2019-07-22 1:52 ` [lustre-devel] [PATCH 08/11] lustre: lov: " James Simmons
2019-07-22 1:52 ` [lustre-devel] [PATCH 09/11] lustre: obdclass: " James Simmons
2019-07-22 1:52 ` [lustre-devel] [PATCH 10/11] lustre: ldlm: " James Simmons
2019-07-23 2:54 ` NeilBrown
2019-07-24 3:37 ` James Simmons
2019-07-24 7:23 ` Degremont, Aurelien
2019-07-25 1:54 ` James Simmons
2019-07-25 8:07 ` Degremont, Aurelien
2019-07-29 19:40 ` James Simmons
2019-07-30 16:02 ` Degremont, Aurelien
2019-07-22 1:52 ` [lustre-devel] [PATCH 11/11] lustre: internal headers " James Simmons
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1563760338-806-4-git-send-email-jsimmons@infradead.org \
--to=jsimmons@infradead.org \
--cc=lustre-devel@lists.lustre.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).