path: root/security/loadpin
diff options
authorScott Branden <>2020-10-02 10:38:15 -0700
committerGreg Kroah-Hartman <>2020-10-05 13:34:18 +0200
commitb89999d004931ab2e5123611ace7dab77328f8d6 (patch)
tree053d4dcd3724d4705c5d146ea4820eed3a862177 /security/loadpin
parent06e67b849ab910a49a629445f43edb074153d0eb (diff)
fs/kernel_read_file: Split into separate include file
Move kernel_read_file* out of linux/fs.h to its own linux/kernel_read_file.h include file. That header gets pulled in just about everywhere and doesn't really need functions not related to the general fs interface. Suggested-by: Christoph Hellwig <> Signed-off-by: Scott Branden <> Signed-off-by: Kees Cook <> Reviewed-by: Christoph Hellwig <> Reviewed-by: Mimi Zohar <> Reviewed-by: Luis Chamberlain <> Acked-by: Greg Kroah-Hartman <> Acked-by: James Morris <> Link: Link: Signed-off-by: Greg Kroah-Hartman <>
Diffstat (limited to 'security/loadpin')
1 files changed, 1 insertions, 0 deletions
diff --git a/security/loadpin/loadpin.c b/security/loadpin/loadpin.c
index 670a1aebb8a1..163c48216d13 100644
--- a/security/loadpin/loadpin.c
+++ b/security/loadpin/loadpin.c
@@ -11,6 +11,7 @@
#include <linux/module.h>
#include <linux/fs.h>
+#include <linux/kernel_read_file.h>
#include <linux/lsm_hooks.h>
#include <linux/mount.h>
#include <linux/blkdev.h>