[PATCH 06/18] fscrypt: Include instead of

Uros Bizjak
2024-09-05T12:20:35Z

<linux/prandom.h> header instead of <linux/random.h>.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Cc: Eric Biggers <ebiggers@kernel.org>
Cc: "Theodore Y. Ts'o" <tytso@mit.edu>
Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Cc. linux-fscrypt@vger.kernel.org
---
fs/crypto/keyring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/crypto/keyring.c b/fs/crypto/keyring.c
index 6681a71625f0..e2c10b3b960b 100644
--- a/fs/crypto/keyring.c
+++ b/fs/crypto/keyring.c
@@ -21,7 +21,7 @@
#include <asm/unaligned.h>
#include <crypto/skcipher.h>
#include <linux/key-type.h>
-#include <linux/random.h>
+#include <linux/prandom.h>
#include <linux/seq_file.h>

#include "fscrypt_private.h"
--
2.46.0