Skip to content
Snippets Groups Projects
Commit dc74edd4 authored by Johann Lombardi's avatar Johann Lombardi
Browse files

Branch HEAD

b=17261

fix cast issue.
parent bc91b0a3
No related branches found
No related tags found
No related merge requests found
...@@ -184,7 +184,7 @@ int lov_packmd(struct obd_export *exp, struct lov_mds_md **lmmp, ...@@ -184,7 +184,7 @@ int lov_packmd(struct obd_export *exp, struct lov_mds_md **lmmp,
* Anyway, this is pretty inaccurate since ld_tgt_count now * Anyway, this is pretty inaccurate since ld_tgt_count now
* represents max index and we should rely on the actual number * represents max index and we should rely on the actual number
* of OSTs instead */ * of OSTs instead */
stripe_count = min(LOV_MAX_STRIPE_COUNT, stripe_count = min((__u32)LOV_MAX_STRIPE_COUNT,
lov->desc.ld_tgt_count); lov->desc.ld_tgt_count);
if (lmmp && *lmmp) if (lmmp && *lmmp)
......
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