@@ -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);
@@ -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;
@@ -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 {
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(-)