Skip to content

Commit b27e03e

Browse files
ubizjakzx2c4
authored andcommitted
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]>
1 parent 84b241a commit b27e03e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/crypto/keyring.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <crypto/skcipher.h>
2323
#include <linux/key-type.h>
2424
#include <linux/random.h>
25+
#include <linux/once.h>
2526
#include <linux/seq_file.h>
2627

2728
#include "fscrypt_private.h"

0 commit comments

Comments
 (0)