CRED: Holding a spinlock does not imply the holding of RCU read lock
authorSerge E. Hallyn <serue@us.ibm.com>
Mon, 26 Apr 2010 10:58:49 +0000 (11:58 +0100)
committerJames Morris <jmorris@namei.org>
Mon, 26 Apr 2010 22:49:03 +0000 (08:49 +1000)
Change the credentials documentation to make it clear that the RCU read lock
must be explicitly held when accessing credentials pointers in some other task
than current.  Holding a spinlock does not implicitly hold the RCU read lock.

Signed-off-by: Serge Hallyn <serue@us.ibm.com>
Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found