nfsd: fix null dereference on error path

We're forgetting to check the return value from groups_alloc().

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>

authored by J. Bruce Fields and committed by J. Bruce Fields bf935a78 ce0cf662

+2
+2
fs/nfsd/auth.c
··· 49 49 new->fsuid = exp->ex_anon_uid; 50 50 new->fsgid = exp->ex_anon_gid; 51 51 gi = groups_alloc(0); 52 + if (!gi) 53 + goto oom; 52 54 } else if (flags & NFSEXP_ROOTSQUASH) { 53 55 if (!new->fsuid) 54 56 new->fsuid = exp->ex_anon_uid;