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 <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>
1 parent 84b241a commit b27e03e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)