From: yury Date: Thu, 4 May 2006 17:17:58 +0000 (+0000) Subject: - fixed few typos X-Git-Tag: v1_8_0_110~486^2~1883 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=acb5200dec0219af60324d9fd6f5d4555aeb24ab;p=fs%2Flustre-release.git - fixed few typos --- diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index 54bd8be..4573ba9 100644 --- a/lustre/lmv/lmv_obd.c +++ b/lustre/lmv/lmv_obd.c @@ -648,7 +648,7 @@ 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_plcament_policy(struct obd_device *obd, +static int lmv_placment_policy(struct obd_device *obd, struct placement_hint *hint) { ENTRY; @@ -677,13 +677,13 @@ static int lmv_fid_alloc(struct obd_export *exp, struct lu_fid *fid, LASSERT(fid != NULL); LASSERT(hint != NULL); - mds = lmv_plcament_policy(obd, hint); + mds = lmv_placment_policy(obd, hint); if (mds < 0 || mds >= lmv->desc.ld_tgt_count) { CERROR("can't get target for allocating fid\n"); RETURN(-EINVAL); } - /* asking underlaying tgt later to allocate new fid */ + /* asking underlaying tgt layer to allocate new fid */ rc = obd_fid_alloc(lmv->tgts[mds].ltd_exp, fid, hint); RETURN(rc); }