From: Sasha Levin Date: Thu, 17 May 2012 21:31:39 +0000 (+0200) Subject: cred: use correct cred accessor with regards to rcu read lock X-Git-Tag: v3.5-rc1~107^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ca937a668d4be0b0c89c4fc9a912a5885ac06fe;p=pandora-kernel.git cred: use correct cred accessor with regards to rcu read lock Commit "userns: Convert setting and getting uid and gid system calls to use kuid and kgid has modified the accessors in wait_task_continued() and wait_task_stopped() to use __task_cred() instead of task_uid(). __task_cred() assumes that we're inside a rcu read lock, which is untrue for these two functions. Modify it to use task_uid() instead. Signed-off-by: Sasha Levin Signed-off-by: Eric W. Biederman --- Reading git-diff-tree failed