keys: Break bits out of key_unlink()
authorDavid Howells <dhowells@redhat.com>
Thu, 30 May 2019 13:19:20 +0000 (14:19 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 30 May 2019 13:19:20 +0000 (14:19 +0100)
commiteb0f68cb7042fd5cff0d6b57966a93049fb2495b
treeb3a1524b7a4ae3d0e1781871f723c39161d68a04
parent3be59f74512e37f4d4243a5d0831970e2a009206
keys: Break bits out of key_unlink()

Break bits out of key_unlink() into helper functions so that they can be
used in implementing key_move().

Signed-off-by: David Howells <dhowells@redhat.com>
security/keys/keyring.c