integrity: sparse fix: move iint_initialized to integrity.h
authorJames Morris <jmorris@namei.org>
Wed, 17 Aug 2011 00:34:33 +0000 (10:34 +1000)
committerJames Morris <jmorris@namei.org>
Fri, 9 Sep 2011 23:56:24 +0000 (16:56 -0700)
Sparse fix: move iint_initialized to integrity.h

Signed-off-by: James Morris <jmorris@namei.org>
security/integrity/ima/ima.h
security/integrity/integrity.h

index 29d97af5e9a4d3c4a16abfae8c26d8aaaebee618..3ccf7acac6df88c01e80a509d6a129f88953acd1 100644 (file)
@@ -37,7 +37,6 @@ enum tpm_pcrs { TPM_PCR0 = 0, TPM_PCR8 = 8 };
 #define IMA_MEASURE_HTABLE_SIZE (1 << IMA_HASH_BITS)
 
 /* set during initialization */
-extern int iint_initialized;
 extern int ima_initialized;
 extern int ima_used_chip;
 extern char *ima_hash;
index 880bbee2f534b83a86d5c2e0c8a0b6312731de64..3143a3c39868061ef7ea0d94713f8b88df792498 100644 (file)
@@ -45,3 +45,6 @@ struct integrity_iint_cache {
  */
 struct integrity_iint_cache *integrity_iint_insert(struct inode *inode);
 struct integrity_iint_cache *integrity_iint_find(struct inode *inode);
+
+/* set during initialization */
+extern int iint_initialized;