diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/integrity/ima/ima_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/integrity/ima/ima_main.c b/security/integrity/ima/ima_main.c index 39d66dc2b8e9..26b46ff74663 100644 --- a/security/integrity/ima/ima_main.c +++ b/security/integrity/ima/ima_main.c | |||
@@ -86,7 +86,7 @@ static void ima_check_last_writer(struct ima_iint_cache *iint, | |||
86 | struct inode *inode, | 86 | struct inode *inode, |
87 | struct file *file) | 87 | struct file *file) |
88 | { | 88 | { |
89 | mode_t mode = file->f_mode; | 89 | fmode_t mode = file->f_mode; |
90 | 90 | ||
91 | mutex_lock(&iint->mutex); | 91 | mutex_lock(&iint->mutex); |
92 | if (mode & FMODE_WRITE && | 92 | if (mode & FMODE_WRITE && |