mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] integrity: shmem zero fix
@ 2009-02-09 19:00 Mimi Zohar
  0 siblings, 0 replies; only message in thread
From: Mimi Zohar @ 2009-02-09 19:00 UTC (permalink / raw)
  To: linux-kernel
  Cc: Mimi Zohar, Mike Frysinger, Andrew Morton, James Morris,
	David Safford, Serge Hallyn, Mimi Zohar

Moved ima.h include before CONFIG_SHMEM test

Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
---
diff --git a/mm/shmem.c b/mm/shmem.c
index 7519988..8135fac 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -28,6 +28,7 @@
 #include <linux/mm.h>
 #include <linux/module.h>
 #include <linux/swap.h>
+#include <linux/ima.h>
 
 static struct vfsmount *shm_mnt;
 
@@ -59,7 +60,6 @@ static struct vfsmount *shm_mnt;
 #include <linux/highmem.h>
 #include <linux/seq_file.h>
 #include <linux/magic.h>
-#include <linux/ima.h>
 
 #include <asm/uaccess.h>
 #include <asm/div64.h>
-- 
1.5.6.6


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-09 19:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-09 19:00 [PATCH 1/1] integrity: shmem zero fix Mimi Zohar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®