s390/compat,uid16: use current_cred()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 7 Sep 2013 08:19:55 +0000 (10:19 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 7 Sep 2013 09:58:21 +0000 (11:58 +0200)
commit2ec7f4aec4d459ef443151ecc875bfbb3a2788f8
tree51511f1e1a0b2c18ef8651bc5bcac8f5c5f037ec
parent7d6c3b492f7fc1b0393b03ec6582a80c3a68bc42
s390/compat,uid16: use current_cred()

86a264ab "CRED: Wrap current->cred and a few other accessors" converted
all uses of current->cred into current_cred() but left s390 alone.

So let's convert s390 finally as well, only five years later.

This way we also get rid of a sparse warning which complains about a
possible invalid rcu dereference which however is a false positive.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/kernel/compat_linux.c