Whamcloud - gitweb
fix typo
authornikita <nikita>
Mon, 3 Jul 2006 15:02:56 +0000 (15:02 +0000)
committernikita <nikita>
Mon, 3 Jul 2006 15:02:56 +0000 (15:02 +0000)
lustre/lmv/lmv_obd.c

index 4d797b3..fa837c7 100644 (file)
@@ -650,8 +650,8 @@ static int lmv_fids_balanced(struct obd_device *obd)
 
 /* returns number of target where new fid should be allocated using passed @hint
  * as input data for making decision. */
-static int lmv_placment_policy(struct obd_device *obd,
-                               struct lu_placement_hint *hint)
+static int lmv_placement_policy(struct obd_device *obd,
+                                struct lu_placement_hint *hint)
 {
         struct lmv_obd *lmv = &obd->u.lmv;
         ENTRY;
@@ -719,7 +719,7 @@ static int lmv_fid_alloc(struct obd_export *exp, struct lu_fid *fid,
         LASSERT(fid != NULL);
         LASSERT(hint != NULL);
 
-        mds = lmv_placment_policy(obd, hint);
+        mds = lmv_placement_policy(obd, hint);
         if (mds < 0 || mds >= lmv->desc.ld_tgt_count) {
                 CERROR("can't get target for allocating fid\n");
                 RETURN(-EINVAL);