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:
66a6c1c
)
Fix lov stripe offset calculations.
author
adilger
<adilger>
Thu, 12 Sep 2002 12:13:59 +0000
(12:13 +0000)
committer
adilger
<adilger>
Thu, 12 Sep 2002 12:13:59 +0000
(12:13 +0000)
lustre/lov/lov_obd.c
patch
|
blob
|
history
diff --git
a/lustre/lov/lov_obd.c
b/lustre/lov/lov_obd.c
index
04f5481
..
13d51c4
100644
(file)
--- a/
lustre/lov/lov_obd.c
+++ b/
lustre/lov/lov_obd.c
@@
-542,7
+542,7
@@
static __u64 lov_offset(struct lov_stripe_md *lsm, __u64 lov_off, int stripeno)
else
stripe_off -= stripeno * ssize;
- return lov_off + stripe_off;
+ return lov_off
* ssize
+ stripe_off;
}
/* compute which stripe offset "lov_off" will be written into */