[PATCH 1/1] integrity: shmem zero fix

From: Mimi Zohar
Date: Mon Feb 09 2009 - 14:03:19 EST


Moved ima.h include before CONFIG_SHMEM test

Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/