aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lustre/fld
diff options
context:
space:
mode:
authorAnil Belur <askb23@gmail.com>2014-06-19 21:50:41 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-19 17:23:09 -0700
commit48f46e74dc7d1770a69b1dc9ef9a54ab7c3aedc0 (patch)
tree25a8990a5d7b8261130c66e62b389c5b2f853cac /drivers/staging/lustre/lustre/fld
parentstaging: lustre: ldlm: ldlm_resource.c replace obsolete function with kstrtoul() (diff)
downloadlinux-dev-48f46e74dc7d1770a69b1dc9ef9a54ab7c3aedc0.tar.xz
linux-dev-48f46e74dc7d1770a69b1dc9ef9a54ab7c3aedc0.zip
staging: lustre: lustre: fld: lproc_fld.c fixed warning
fixed warning for line over 80 characters by moving the struct init onto a diff line. Signed-off-by: Anil Belur <askb23@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/fld')
-rw-r--r--drivers/staging/lustre/lustre/fld/lproc_fld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/fld/lproc_fld.c b/drivers/staging/lustre/lustre/fld/lproc_fld.c
index 530adde46963..8b366356f77f 100644
--- a/drivers/staging/lustre/lustre/fld/lproc_fld.c
+++ b/drivers/staging/lustre/lustre/fld/lproc_fld.c
@@ -91,10 +91,11 @@ static ssize_t
fld_proc_hash_seq_write(struct file *file, const char *buffer,
size_t count, loff_t *off)
{
- struct lu_client_fld *fld = ((struct seq_file *)file->private_data)->private;
+ struct lu_client_fld *fld;
struct lu_fld_hash *hash = NULL;
int i;
+ fld = ((struct seq_file *)file->private_data)->private;
LASSERT(fld != NULL);
for (i = 0; fld_hash[i].fh_name != NULL; i++) {