Whamcloud - gitweb
LU-5478 style: get rid of seqno_t and mdsno_t typedefs
[fs/lustre-release.git] / lustre / lmv / lmv_obd.c
index 5c452db..2b3c715 100644 (file)
@@ -1322,8 +1322,7 @@ static int lmv_choose_mds(struct lmv_obd *lmv, struct md_op_data *op_data,
  * This is _inode_ placement policy function (not name).
  */
 static int lmv_placement_policy(struct obd_device *obd,
-                                struct md_op_data *op_data,
-                                mdsno_t *mds)
+                               struct md_op_data *op_data, u32 *mds)
 {
        struct lmv_obd          *lmv = &obd->u.lmv;
        ENTRY;
@@ -1361,8 +1360,7 @@ static int lmv_placement_policy(struct obd_device *obd,
        RETURN(0);
 }
 
-int __lmv_fid_alloc(struct lmv_obd *lmv, struct lu_fid *fid,
-                   mdsno_t mds)
+int __lmv_fid_alloc(struct lmv_obd *lmv, struct lu_fid *fid, u32 mds)
 {
        struct lmv_tgt_desc     *tgt;
        int                      rc;
@@ -1401,7 +1399,7 @@ int lmv_fid_alloc(const struct lu_env *env, struct obd_export *exp,
 {
         struct obd_device     *obd = class_exp2obd(exp);
         struct lmv_obd        *lmv = &obd->u.lmv;
-        mdsno_t                mds = 0;
+       u32                    mds = 0;
         int                    rc;
         ENTRY;
 
@@ -1787,7 +1785,7 @@ static int lmv_close(struct obd_export *exp, struct md_op_data *op_data,
 struct lmv_tgt_desc *
 lmv_locate_target_for_name(struct lmv_obd *lmv, struct lmv_stripe_md *lsm,
                           const char *name, int namelen, struct lu_fid *fid,
-                          mdsno_t *mds)
+                          u32 *mds)
 {
        struct lmv_tgt_desc     *tgt;
        const struct lmv_oinfo  *oinfo;