X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flustre_fld.h;h=3d8288b7da89ab5984f4fe264814f1c1fbf7cc69;hb=refs%2Fchanges%2F38%2F37738%2F5;hp=102dcfac774806c623b3682beaca767667f0db61;hpb=6d2b66d22c25a488aa02f3a3a41888d99322f448;p=fs%2Flustre-release.git diff --git a/lustre/include/lustre_fld.h b/lustre/include/lustre_fld.h index 102dcfa..3d8288b 100644 --- a/lustre/include/lustre_fld.h +++ b/lustre/include/lustre_fld.h @@ -41,6 +41,7 @@ #include #include #include +#include struct lu_env; struct lu_client_fld; @@ -89,9 +90,10 @@ struct lu_server_fld { * Protect index modifications */ struct mutex lsf_lock; - /** - * Fld service name in form "fld-srv-lustre-MDTXXX" */ - char lsf_name[80]; + /** + * Fld service name in form "fld-srv-lustre-MDTXXX" + */ + char lsf_name[LUSTRE_MDT_MAXNAMELEN]; int (*lsf_seq_lookup)(const struct lu_env *env, struct lu_server_fld *fld, u64 seq, @@ -133,10 +135,10 @@ struct lu_client_fld { * Client FLD cache. */ struct fld_cache *lcf_cache; - /** + /** * Client fld debugfs entry name. */ - char lcf_name[80]; + char lcf_name[LUSTRE_MDT_MAXNAMELEN]; }; /* Server methods */