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:
62a0ddc
)
- fix in mds_init_ucred()
author
yury
<yury>
Thu, 4 Nov 2004 08:45:33 +0000
(08:45 +0000)
committer
yury
<yury>
Thu, 4 Nov 2004 08:45:33 +0000
(08:45 +0000)
lustre/mds/mds_lib.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_lib.c
b/lustre/mds/mds_lib.c
index
0e2f69d
..
33d193e
100644
(file)
--- a/
lustre/mds/mds_lib.c
+++ b/
lustre/mds/mds_lib.c
@@
-560,8
+560,10
@@
int mds_init_ucred(struct lvfs_ucred *ucred, struct mds_req_sec_desc *rsd)
ginfo = ucred->luc_ginfo;
while (cur < rsd->rsd_ngroups) {
- if (groups_search(ginfo, rsd->rsd_groups[cur]))
- GROUP_AT(gnew, set++) = rsd->rsd_groups[cur];
+ if (groups_search(ginfo, rsd->rsd_groups[cur])) {
+ GROUP_AT(gnew, set) = rsd->rsd_groups[cur];
+ set++;
+ }
cur++;
}
gnew->ngroups = set;