summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2024-09-30 14:33:18 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2024-10-03 18:19:56 +0200
commitb27e03ee6f3353e020e1ff3351a30724253b05e9 (patch)
tree4c1a157a820806d2b787861a750ec89c95947541
parent84b241ab4f6139fbe03eb6c460098b25b5fc7c9b (diff)
downloadlinux-b27e03ee6f3353e020e1ff3351a30724253b05e9.tar.gz
linux-b27e03ee6f3353e020e1ff3351a30724253b05e9.tar.bz2
linux-b27e03ee6f3353e020e1ff3351a30724253b05e9.zip
fscrypt: Include <linux/once.h> in fs/crypto/keyring.c
Include <linux/once.h> header to allow the removal of legacy inclusion of <linux/prandom.h> from <linux/random.h>. Signed-off-by: Uros Bizjak <ubizjak@gmail.com> Cc: Theodore Y. Ts'o <tytso@mit.edu> Cc: Jaegeuk Kim <jaegeuk@kernel.org> Acked-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--fs/crypto/keyring.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/crypto/keyring.c b/fs/crypto/keyring.c
index 6681a71625f0..82fcc5683649 100644
--- a/fs/crypto/keyring.c
+++ b/fs/crypto/keyring.c
@@ -22,6 +22,7 @@
#include <crypto/skcipher.h>
#include <linux/key-type.h>
#include <linux/random.h>
+#include <linux/once.h>
#include <linux/seq_file.h>
#include "fscrypt_private.h"