]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
fscrypt: Include <linux/once.h> in fs/crypto/keyring.c
authorUros Bizjak <ubizjak@gmail.com>
Mon, 30 Sep 2024 12:33:18 +0000 (14:33 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 3 Oct 2024 16:19:56 +0000 (18:19 +0200)
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>
fs/crypto/keyring.c

index 6681a71625f0a32d9f7779728edbc6452cdc22a5..82fcc5683649648ebbfbad31bdf0e31e5d7c71f7 100644 (file)
@@ -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"