X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Finclude%2Flustre_idmap.h;h=b64a71b3eeb6735526b5a1aa751f7f4e414f6200;hp=7f19dfd08dcbe308505a490870084ed25b8a14c5;hb=16e0fe6eab3e54aa7beddb75bf7dae05645408e9;hpb=783de3e99d0a2185d26bc67a9ca852b08a760cf6 diff --git a/lustre/include/lustre_idmap.h b/lustre/include/lustre_idmap.h index 7f19dfd..b64a71b 100644 --- a/lustre/include/lustre_idmap.h +++ b/lustre/include/lustre_idmap.h @@ -47,7 +47,7 @@ * @{ */ -#include +#include #define CFS_NGROUPS_PER_BLOCK ((int)(CFS_PAGE_SIZE / sizeof(gid_t))) @@ -78,6 +78,8 @@ struct lustre_idmap_table { cfs_list_t lit_idmaps[CFS_IDMAP_N_HASHES][CFS_IDMAP_HASHSIZE]; }; +struct lu_ucred; + extern void lustre_groups_from_list(cfs_group_info_t *ginfo, gid_t *glist); extern void lustre_groups_sort(cfs_group_info_t *group_info); extern int lustre_in_group_p(struct lu_ucred *mu, gid_t grp);