X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Futils%2Flustreapi_internal.h;h=f69fca066c599aa0239282b7282daf55997859c4;hp=c0662b4056e7e452407db26f6a9ea4a28b7aa9be;hb=11aa7f8704c4;hpb=7ee319ed7f9dfa365a66b20b03f2141c54fb0293 diff --git a/lustre/utils/lustreapi_internal.h b/lustre/utils/lustreapi_internal.h index c0662b4..f69fca0 100644 --- a/lustre/utils/lustreapi_internal.h +++ b/lustre/utils/lustreapi_internal.h @@ -163,6 +163,8 @@ enum get_lmd_info_type { GET_LMD_STRIPE = 2, }; -int get_lmd_info_fd(char *path, int parentfd, int dirfd, +int get_lmd_info_fd(const char *path, int parentfd, int dirfd, void *lmd_buf, int lmd_len, enum get_lmd_info_type type); + +int lov_comp_md_size(struct lov_comp_md_v1 *lcm); #endif /* _LUSTREAPI_INTERNAL_H_ */