Skip to content
Snippets Groups Projects
Commit 9a7ce452 authored by Andreas Dilger's avatar Andreas Dilger
Browse files

Branch HEAD

Add clarifying comment.
parent c70ba490
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,8 @@ int lov_packmd(struct obd_export *exp, struct lov_mds_md **lmmp,
lsm->lsm_magic, LOV_MAGIC);
RETURN(-EINVAL);
}
/* If we are just sizing the EA, limit the stripe count
* to the actual number of OSTs in this filesystem. */
if (!lmmp) {
stripe_count = lov_get_stripecnt(lov, lsm->lsm_stripe_count);
lsm->lsm_stripe_count = stripe_count;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment