staging: lustre: replace static value with define
authorTristan Lelong <tristan@lelong.xyz>
Sun, 7 Dec 2014 00:00:30 +0000 (16:00 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2015 23:29:31 +0000 (15:29 -0800)
commit376048962321f630b523d5f1421f5c9cfa051cd0
treecafdd0e07f33ad2bf7955d26da0865518b4e5479
parente84962e3afc1665756bd4854c63da662696fb687
staging: lustre: replace static value with define

This patch replace the value '80' used in several files in the lustre source code
with a define LUSTRE_MDT_MAXNAMELEN.

This value is used in 4 different structures as the maximum len for a service name.
According to the comments, these names follow a convention which make it possible
to use the same define for LCS, LSS, LCF, and LSF.

Signed-off-by: Tristan Lelong <tristan@lelong.xyz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/fld/fld_internal.h
drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
drivers/staging/lustre/lustre/include/lustre_fid.h
drivers/staging/lustre/lustre/include/lustre_fld.h