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-10822 utils: stop bogus buffer overflow errors
[fs/lustre-release.git]
/
lustre
/
utils
/
lustreapi_internal.h
diff --git
a/lustre/utils/lustreapi_internal.h
b/lustre/utils/lustreapi_internal.h
index
92e4994
..
4d636f4
100644
(file)
--- a/
lustre/utils/lustreapi_internal.h
+++ b/
lustre/utils/lustreapi_internal.h
@@
-155,4
+155,12
@@
int libcfs_ukuc_stop(struct lustre_kernelcomm *l);
int libcfs_ukuc_get_rfd(struct lustre_kernelcomm *link);
int libcfs_ukuc_msg_get(struct lustre_kernelcomm *l, char *buf, int maxsize,
int transport);
int libcfs_ukuc_get_rfd(struct lustre_kernelcomm *link);
int libcfs_ukuc_msg_get(struct lustre_kernelcomm *l, char *buf, int maxsize,
int transport);
+
+enum get_lmd_info_type {
+ GET_LMD_INFO = 1,
+ GET_LMD_STRIPE = 2,
+};
+
+int get_lmd_info_fd(char *path, int parentfd, int dirfd,
+ void *lmd_buf, int lmd_len, enum get_lmd_info_type type);
#endif /* _LUSTREAPI_INTERNAL_H_ */
#endif /* _LUSTREAPI_INTERNAL_H_ */