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:
bc91b0a
)
Branch HEAD
author
johann
<johann>
Mon, 6 Oct 2008 13:59:54 +0000
(13:59 +0000)
committer
johann
<johann>
Mon, 6 Oct 2008 13:59:54 +0000
(13:59 +0000)
b=17261
fix cast issue.
lustre/lov/lov_pack.c
patch
|
blob
|
history
diff --git
a/lustre/lov/lov_pack.c
b/lustre/lov/lov_pack.c
index
904817e
..
7d1d552
100644
(file)
--- a/
lustre/lov/lov_pack.c
+++ b/
lustre/lov/lov_pack.c
@@
-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
* represents max index and we should rely on the actual number
* of OSTs instead */
- stripe_count = min(LOV_MAX_STRIPE_COUNT,
+ stripe_count = min(
(__u32)
LOV_MAX_STRIPE_COUNT,
lov->desc.ld_tgt_count);
if (lmmp && *lmmp)