]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - security/tomoyo/tomoyo.c
Merge tag 'locks-v4.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux
[linux.git] / security / tomoyo / tomoyo.c
index 213b8c593668f260a44e9a6993c42f7a68eb4575..9f932e2d68521c2da50be376cb41c51d700425f4 100644 (file)
@@ -320,7 +320,7 @@ static int tomoyo_file_fcntl(struct file *file, unsigned int cmd,
  *
  * Returns 0 on success, negative value otherwise.
  */
-static int tomoyo_file_open(struct file *f, const struct cred *cred)
+static int tomoyo_file_open(struct file *f)
 {
        int flags = f->f_flags;
        /* Don't check read permission here if called from do_execve(). */