Whamcloud - gitweb
LU-4826 lmv: Ensure lmv_intent_lookup cleans up reqp
[fs/lustre-release.git] / lustre / lod / lod_internal.h
index b98caf2..c3b1bc3 100644 (file)
@@ -247,7 +247,6 @@ struct lod_object {
        __u16              ldo_def_stripenr;
        __u16              ldo_def_stripe_offset;
        struct lod_dir_stripe_info      *ldo_dir_stripe;
-       mdsno_t            ldo_mds_num;
 };
 
 #define ldo_dir_stripe_offset  ldo_dir_stripe->ldsi_stripe_offset
@@ -275,6 +274,7 @@ struct lod_thread_info {
        struct obd_statfs lti_osfs;
        struct lu_attr    lti_attr;
        struct lod_it     lti_it;
+       struct ldlm_res_id lti_res_id;
 };
 
 extern const struct lu_device_operations lod_lu_ops;
@@ -356,7 +356,7 @@ static inline struct lod_thread_info *lod_env_info(const struct lu_env *env)
 
 /* lod_dev.c */
 int lod_fld_lookup(const struct lu_env *env, struct lod_device *lod,
-                  const struct lu_fid *fid, mdsno_t *tgt, int flags);
+                  const struct lu_fid *fid, __u32 *tgt, int *flags);
 /* lod_lov.c */
 void lod_getref(struct lod_tgt_descs *ltd);
 void lod_putref(struct lod_device *lod, struct lod_tgt_descs *ltd);