Merge branch 'next-evm' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/ima...
[linux-3.10.git] / security / integrity / ima / ima_main.c
index 25f9fe7..42dc270 100644 (file)
@@ -86,7 +86,7 @@ static void ima_check_last_writer(struct integrity_iint_cache *iint,
                                  struct inode *inode,
                                  struct file *file)
 {
-       mode_t mode = file->f_mode;
+       fmode_t mode = file->f_mode;
 
        mutex_lock(&iint->mutex);
        if (mode & FMODE_WRITE &&