Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-12511 lustre: introduce LUSTRE_MDT_MAXNAMELEN
[fs/lustre-release.git]
/
lustre
/
include
/
lustre_fld.h
diff --git
a/lustre/include/lustre_fld.h
b/lustre/include/lustre_fld.h
index
102dcfa
..
3d8288b
100644
(file)
--- a/
lustre/include/lustre_fld.h
+++ b/
lustre/include/lustre_fld.h
@@
-41,6
+41,7
@@
#include <uapi/linux/lustre/lustre_idl.h>
#include <libcfs/libcfs.h>
#include <seq_range.h>
#include <uapi/linux/lustre/lustre_idl.h>
#include <libcfs/libcfs.h>
#include <seq_range.h>
+#include <lustre_fid.h>
struct lu_env;
struct lu_client_fld;
struct lu_env;
struct lu_client_fld;
@@
-89,9
+90,10
@@
struct lu_server_fld {
* Protect index modifications */
struct mutex lsf_lock;
* 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,
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 cache. */
struct fld_cache *lcf_cache;
-
/**
+ /**
* Client fld debugfs entry name.
*/
* Client fld debugfs entry name.
*/
-
char lcf_name[80
];
+
char lcf_name[LUSTRE_MDT_MAXNAMELEN
];
};
/* Server methods */
};
/* Server methods */