Commit 63b74298 authored by Juston Li's avatar Juston Li Committed by Greg Kroah-Hartman

staging: lustre: lmv: lmv_internal.h: fix checkpatch.pl spacing errors

lmv_internal.h:96: ERROR: space prohibited after that open parenthesis '('
lmv_internal.h:96: ERROR: space required before the open parenthesis '('
lmv_internal.h:147: WARNING: space prohibited between function name and open parenthesis '('
Signed-off-by: default avatarJuston Li <juston.h.li@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0710bf3d
...@@ -93,7 +93,7 @@ static inline struct lmv_stripe_md *lmv_get_mea(struct ptlrpc_request *req) ...@@ -93,7 +93,7 @@ static inline struct lmv_stripe_md *lmv_get_mea(struct ptlrpc_request *req)
if (mea->mea_count == 0) if (mea->mea_count == 0)
return NULL; return NULL;
if( mea->mea_magic != MEA_MAGIC_LAST_CHAR && if (mea->mea_magic != MEA_MAGIC_LAST_CHAR &&
mea->mea_magic != MEA_MAGIC_ALL_CHARS && mea->mea_magic != MEA_MAGIC_ALL_CHARS &&
mea->mea_magic != MEA_MAGIC_HASH_SEGMENT) mea->mea_magic != MEA_MAGIC_HASH_SEGMENT)
return NULL; return NULL;
...@@ -144,7 +144,7 @@ struct lmv_tgt_desc ...@@ -144,7 +144,7 @@ struct lmv_tgt_desc
*lmv_locate_mds(struct lmv_obd *lmv, struct md_op_data *op_data, *lmv_locate_mds(struct lmv_obd *lmv, struct md_op_data *op_data,
struct lu_fid *fid); struct lu_fid *fid);
/* lproc_lmv.c */ /* lproc_lmv.c */
#if defined (CONFIG_PROC_FS) #if defined(CONFIG_PROC_FS)
void lprocfs_lmv_init_vars(struct lprocfs_static_vars *lvars); void lprocfs_lmv_init_vars(struct lprocfs_static_vars *lvars);
#else #else
static inline void lprocfs_lmv_init_vars(struct lprocfs_static_vars *lvars) static inline void lprocfs_lmv_init_vars(struct lprocfs_static_vars *lvars)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment