mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
Merge "msm: adsprpc: Avoid taking reference for group_info" into kernel.lnx.5.4.r1-rel
This commit is contained in:
commit
b28cf76a9a
1 changed files with 1 additions and 1 deletions
|
|
@ -5806,7 +5806,7 @@ static int fastrpc_device_open(struct inode *inode, struct file *filp)
|
|||
|
||||
static int fastrpc_get_process_gids(struct gid_list *gidlist)
|
||||
{
|
||||
struct group_info *group_info = get_current_groups();
|
||||
struct group_info *group_info = current_cred()->group_info;
|
||||
int i = 0, err = 0, num_gids = group_info->ngroups + 1;
|
||||
unsigned int *gids = NULL;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue