X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flmv%2Flmv_internal.h;h=c56cae29d24587927287a06d91a80db7f5b5dcda;hp=30688f27800c070836f1dfb81592997eb1e1066a;hb=e44e9b278432a1df83482b1cd83b2081fabe94dc;hpb=368e2ea3777ceb28294865a3d69816b4121d058c diff --git a/lustre/lmv/lmv_internal.h b/lustre/lmv/lmv_internal.h index 30688f2..c56cae2 100644 --- a/lustre/lmv/lmv_internal.h +++ b/lustre/lmv/lmv_internal.h @@ -3,7 +3,7 @@ #define LL_IT2STR(it) ((it) ? ldlm_it2str((it)->it_op) : "0") #define MEA_SIZE_LMV(lmv) \ - ((lmv)->count * sizeof(struct ll_fid) + sizeof(struct mea)) + ((lmv)->desc.ld_tgt_count * sizeof(struct ll_fid) + sizeof(struct mea)) struct lmv_inode { struct ll_fid fid; /* fid of dirobj */ @@ -45,7 +45,7 @@ int lmv_intent_open(struct obd_export *, struct ll_uctxt *, struct ptlrpc_request **, ldlm_blocking_callback); int lmv_create_obj_from_attrs(struct obd_export *, struct ll_fid *, struct mea *); -int lmv_connect(struct obd_device *); +int lmv_check_connect(struct obd_device *obd); int lmv_revalidate_slaves(struct obd_export *, struct ptlrpc_request **, struct ll_fid *, struct lookup_intent *, int, ldlm_blocking_callback cb_blocking);