ima: Move file-change detection variables into new structure
[linux-2.6-block.git] / security / integrity / ima / ima_iint.c
index e7c9c216c1c6f32c59c8f8df84599d56184bd13e..e23412a2c56b092173d7f0db111d32c6fce37c67 100644 (file)
@@ -59,7 +59,7 @@ static void ima_iint_init_always(struct ima_iint_cache *iint,
                                 struct inode *inode)
 {
        iint->ima_hash = NULL;
-       iint->version = 0;
+       iint->real_inode.version = 0;
        iint->flags = 0UL;
        iint->atomic_flags = 0UL;
        iint->ima_file_status = INTEGRITY_UNKNOWN;