Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92008de
)
Branch b1_6
author
tianzy
<tianzy>
Mon, 17 Nov 2008 06:27:29 +0000
(06:27 +0000)
committer
tianzy
<tianzy>
Mon, 17 Nov 2008 06:27:29 +0000
(06:27 +0000)
fix lov_brw_check() calls lov_stripe_intersects() with incorrect parameter.
written by nikita
lustre/lov/lov_obd.c
patch
|
blob
|
history
diff --git
a/lustre/lov/lov_obd.c
b/lustre/lov/lov_obd.c
index
fa1f5b0
..
314d61d
100644
(file)
--- a/
lustre/lov/lov_obd.c
+++ b/
lustre/lov/lov_obd.c
@@
-1649,7
+1649,7
@@
static int lov_brw_check(struct lov_obd *lov, struct obd_info *lov_oinfo,
obd_off start, end;
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))
continue;