keys: Timestamp new keys
David Howells authored
[ Upstream commit 7c1857bd ]

Set the timestamp on new keys rather than leaving it unset.

Fixes: 31d5a79d

 ("KEYS: Do LRU discard in full keyrings")
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarJames Morris <james.morris@microsoft.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
b0515d58