Skip to content
Snippets Groups Projects
Commit d9987483 authored by tianzy's avatar tianzy
Browse files

Branch b1_6

fix lov_brw_check() calls lov_stripe_intersects() with incorrect parameter.
written by nikita
parent 92008de5
No related branches found
No related tags found
No related merge requests found
...@@ -1649,7 +1649,7 @@ static int lov_brw_check(struct lov_obd *lov, struct obd_info *lov_oinfo, ...@@ -1649,7 +1649,7 @@ static int lov_brw_check(struct lov_obd *lov, struct obd_info *lov_oinfo,
obd_off start, end; obd_off start, end;
if (!lov_stripe_intersects(lov_oinfo->oi_md, i, pga[i].off, if (!lov_stripe_intersects(lov_oinfo->oi_md, i, pga[i].off,
pga[i].off + pga[i].count, pga[i].off + pga[i].count - 1,
&start, &end)) &start, &end))
continue; continue;
......
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