+4
−4
+2
−2
+10
−12
Loading
Sparse warnings are incurred by key_fs[ug]id_changed() due to unprotected accesses of tsk->cred, which is marked __rcu. Fix this by passing the new cred struct to these functions from commit_creds() rather than the task pointer. Signed-off-by:David Howells <dhowells@redhat.com> Reviewed-by:
James Morris <jamorris@linux.microsoft.com>