integrity: sparse fix: move iint_initialized to integrity.h
[linux-2.6.git] / security / integrity / integrity.h
index 7efbf560b7d5a45f598b87aa675627cc54850be3..3143a3c39868061ef7ea0d94713f8b88df792498 100644 (file)
@@ -37,7 +37,7 @@ struct integrity_iint_cache {
        unsigned char flags;
        u8 digest[SHA1_DIGEST_SIZE];
        struct mutex mutex;     /* protects: version, flags, digest */
        unsigned char flags;
        u8 digest[SHA1_DIGEST_SIZE];
        struct mutex mutex;     /* protects: version, flags, digest */
-       enum integrity_status hmac_status;
+       enum integrity_status evm_status;
 };
 
 /* rbtree tree calls to lookup, insert, delete
 };
 
 /* rbtree tree calls to lookup, insert, delete
@@ -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);
  */
 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;