staging/lustre: Fix lines that start with spaces
Found with checkpatch. Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f0a8768041
commit
22ea97f05c
@ -50,7 +50,7 @@
|
||||
#define LUSTRE_CFG_MAX_BUFCOUNT 8
|
||||
|
||||
#define LCFG_HDR_SIZE(count) \
|
||||
cfs_size_round(offsetof (struct lustre_cfg, lcfg_buflens[(count)]))
|
||||
cfs_size_round(offsetof(struct lustre_cfg, lcfg_buflens[(count)]))
|
||||
|
||||
/** If the LCFG_REQUIRED bit is set in a configuration command,
|
||||
* then the client is required to understand this parameter
|
||||
|
@ -149,13 +149,13 @@ extern enum ldlm_mode lck_compat_array[];
|
||||
|
||||
static inline void lockmode_verify(enum ldlm_mode mode)
|
||||
{
|
||||
LASSERT(mode > LCK_MINMODE && mode < LCK_MAXMODE);
|
||||
LASSERT(mode > LCK_MINMODE && mode < LCK_MAXMODE);
|
||||
}
|
||||
|
||||
static inline int lockmode_compat(enum ldlm_mode exist_mode,
|
||||
enum ldlm_mode new_mode)
|
||||
{
|
||||
return (lck_compat_array[exist_mode] & new_mode);
|
||||
return (lck_compat_array[exist_mode] & new_mode);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -330,9 +330,9 @@ static struct dentry *ll_get_parent(struct dentry *dchild)
|
||||
}
|
||||
|
||||
const struct export_operations lustre_export_operations = {
|
||||
.get_parent = ll_get_parent,
|
||||
.encode_fh = ll_encode_fh,
|
||||
.get_name = ll_get_name,
|
||||
.get_parent = ll_get_parent,
|
||||
.encode_fh = ll_encode_fh,
|
||||
.get_name = ll_get_name,
|
||||
.fh_to_dentry = ll_fh_to_dentry,
|
||||
.fh_to_parent = ll_fh_to_parent,
|
||||
};
|
||||
|
@ -1504,5 +1504,5 @@ LPROC_SEQ_FOPS(ll_rw_offset_stats);
|
||||
|
||||
void lprocfs_llite_init_vars(struct lprocfs_static_vars *lvars)
|
||||
{
|
||||
lvars->obd_vars = lprocfs_llite_obd_vars;
|
||||
lvars->obd_vars = lprocfs_llite_obd_vars;
|
||||
}
|
||||
|
@ -339,14 +339,15 @@ static ssize_t ll_direct_IO_26_seg(const struct lu_env *env, struct cl_io *io,
|
||||
size_t size, loff_t file_offset,
|
||||
struct page **pages, int page_count)
|
||||
{
|
||||
struct ll_dio_pages pvec = { .ldp_pages = pages,
|
||||
.ldp_nr = page_count,
|
||||
.ldp_size = size,
|
||||
.ldp_offsets = NULL,
|
||||
.ldp_start_offset = file_offset
|
||||
};
|
||||
struct ll_dio_pages pvec = {
|
||||
.ldp_pages = pages,
|
||||
.ldp_nr = page_count,
|
||||
.ldp_size = size,
|
||||
.ldp_offsets = NULL,
|
||||
.ldp_start_offset = file_offset
|
||||
};
|
||||
|
||||
return ll_direct_rw_pages(env, io, rw, inode, &pvec);
|
||||
return ll_direct_rw_pages(env, io, rw, inode, &pvec);
|
||||
}
|
||||
|
||||
#ifdef KMALLOC_MAX_SIZE
|
||||
|
Loading…
Reference in New Issue
Block a user