Include missing linux/magic.h inclusions
authorDavid Howells <dhowells@redhat.com>
Thu, 11 Apr 2013 22:55:54 +0000 (23:55 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 29 Apr 2013 19:42:01 +0000 (15:42 -0400)
Include missing linux/magic.h inclusions where the source file is currently
expecting to get magic numbers through linux/proc_fs.h.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: linux-efi@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/firmware/efivars.c
fs/proc/inode.c

index 7acafb80fd4c79b19b1c53551bb5e7e8612af707..0f1026019c0f8f13cbc0035115789ef9d2cf2ace 100644 (file)
@@ -80,6 +80,7 @@
 #include <linux/slab.h>
 #include <linux/pstore.h>
 #include <linux/ctype.h>
+#include <linux/magic.h>
 
 #include <linux/fs.h>
 #include <linux/ramfs.h>
index d50224c7021521f6c08dd0aa25c09ae744b662d0..bd2f76427fecbf8d28735ad625efca036cd6c395 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/seq_file.h>
 #include <linux/slab.h>
 #include <linux/mount.h>
+#include <linux/magic.h>
 
 #include <asm/uaccess.h>