summaryrefslogtreecommitdiff
path: root/security/integrity
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-07-26 04:30:35 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2011-07-26 13:04:32 -0400
commit4b2a2c67415f1ab128f1d0b340fe6d13363335e5 (patch)
tree4553a90b12550980ac1dc40288458865e3eb186f /security/integrity
parented476418394f12d47f27a75424c237a94d244f10 (diff)
downloadlwn-4b2a2c67415f1ab128f1d0b340fe6d13363335e5.tar.gz
lwn-4b2a2c67415f1ab128f1d0b340fe6d13363335e5.zip
ima: fmode_t misspelled as mode_t...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/integrity')
-rw-r--r--security/integrity/ima/ima_main.c2
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,
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 &&