diff options
| author | Uros Bizjak <[email protected]> | 2024-09-30 12:33:18 +0000 |
|---|---|---|
| committer | Jason A. Donenfeld <[email protected]> | 2024-10-03 16:19:56 +0000 |
| commit | b27e03ee6f3353e020e1ff3351a30724253b05e9 (patch) | |
| tree | 4c1a157a820806d2b787861a750ec89c95947541 | |
| parent | mtd: tests: Include <linux/prandom.h> instead of <linux/random.h> (diff) | |
| download | kernel-b27e03ee6f3353e020e1ff3351a30724253b05e9.tar.gz kernel-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 <[email protected]>
Cc: Theodore Y. Ts'o <[email protected]>
Cc: Jaegeuk Kim <[email protected]>
Acked-by: Eric Biggers <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
| -rw-r--r-- | fs/crypto/keyring.c | 1 |
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" |
