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:
054937f
)
Branch b1_8
author
adilger
<adilger>
Thu, 2 Apr 2009 04:29:17 +0000
(
04:29
+0000)
committer
adilger
<adilger>
Thu, 2 Apr 2009 04:29:17 +0000
(
04:29
+0000)
Quiet compiler warning for comparison between signed and unsigned types.
lustre/lvfs/upcall_cache.c
patch
|
blob
|
history
diff --git
a/lustre/lvfs/upcall_cache.c
b/lustre/lvfs/upcall_cache.c
index
34579cb
..
abf6872
100644
(file)
--- a/
lustre/lvfs/upcall_cache.c
+++ b/
lustre/lvfs/upcall_cache.c
@@
-216,7
+216,7
@@
static int entry_set_group_info(struct upcall_cache_entry *entry, __u32 primary,
entry->ue_primary = primary;
for (i = 0; i < ginfo->nblocks; i++) {
- int cp_count = min(NGROUPS_PER_BLOCK, (int)ngroups);
+ int cp_count = min(
(int)
NGROUPS_PER_BLOCK, (int)ngroups);
int off = i * NGROUPS_PER_BLOCK;
for (j = 0; j < cp_count; j++)