mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
LINUX24: Remove group_info macros/functions
The LINUX24 code has a macro and a function abstracting 'struct group_info' access. But 'struct group_info' does not exist in 2.4, and nothing calls these, so get rid of them. Change-Id: Ic38f5be27d55da9fdf6ce7889d4df6afd1464c0f Reviewed-on: http://gerrit.openafs.org/2268 Reviewed-by: Derrick Brashear <shadow@dementia.org> Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
16f19e79d1
commit
773b4968e4
@ -168,12 +168,6 @@ typedef struct afs_cred { /* maps to task field: */
|
||||
typedef struct afs_cred afs_ucred_t;
|
||||
typedef struct task_struct afs_proc_t;
|
||||
|
||||
#define afs_cr_group_info(cred) ((cred)->cr_group_info)
|
||||
static inline void
|
||||
afs_set_cr_group_info(afs_ucred_t *cred, struct group_info *group_info) {
|
||||
cred->cr_group_info = group_info;
|
||||
}
|
||||
|
||||
#if !defined(current_cred)
|
||||
#define current_gid() (current->gid)
|
||||
#define current_uid() (current->uid)
|
||||
|
Loading…
Reference in New Issue
Block a user