ima: fmode_t misspelled as mode_t...
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Jul 2011 08:30:35 +0000 (04:30 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Jul 2011 17:04:32 +0000 (13:04 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
security/integrity/ima/ima_main.c

index 39d66dc2b8e98e221d73327f82c1a07599bb297b..26b46ff7466353bcf8fbe58545bd8ab6c2f0e384 100644 (file)
@@ -86,7 +86,7 @@ static void ima_check_last_writer(struct ima_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 &&