Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorri...
[muen/linux.git] / security / security.c
index dbca03d3629b2e542ab22993d4a71ed67b655341..47cfff01d7ec01c522620aeef60643781577e5ed 100644 (file)
@@ -972,11 +972,11 @@ int security_file_receive(struct file *file)
        return call_int_hook(file_receive, 0, file);
 }
 
-int security_file_open(struct file *file, const struct cred *cred)
+int security_file_open(struct file *file)
 {
        int ret;
 
-       ret = call_int_hook(file_open, 0, file, cred);
+       ret = call_int_hook(file_open, 0, file);
        if (ret)
                return ret;