ima: fmode_t misspelled as mode_t...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
ed47641839
commit
4b2a2c6741
|
@ -86,7 +86,7 @@ static void ima_check_last_writer(struct ima_iint_cache *iint,
|
||||||
struct inode *inode,
|
struct inode *inode,
|
||||||
struct file *file)
|
struct file *file)
|
||||||
{
|
{
|
||||||
mode_t mode = file->f_mode;
|
fmode_t mode = file->f_mode;
|
||||||
|
|
||||||
mutex_lock(&iint->mutex);
|
mutex_lock(&iint->mutex);
|
||||||
if (mode & FMODE_WRITE &&
|
if (mode & FMODE_WRITE &&
|
||||||
|
|
Loading…
Reference in New Issue