diff options
Diffstat (limited to 'security/security.c')
-rw-r--r-- | security/security.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/security.c b/security/security.c index dbca03d3629b..47cfff01d7ec 100644 --- a/security/security.c +++ b/security/security.c | |||
@@ -972,11 +972,11 @@ int security_file_receive(struct file *file) | |||
972 | return call_int_hook(file_receive, 0, file); | 972 | return call_int_hook(file_receive, 0, file); |
973 | } | 973 | } |
974 | 974 | ||
975 | int security_file_open(struct file *file, const struct cred *cred) | 975 | int security_file_open(struct file *file) |
976 | { | 976 | { |
977 | int ret; | 977 | int ret; |
978 | 978 | ||
979 | ret = call_int_hook(file_open, 0, file, cred); | 979 | ret = call_int_hook(file_open, 0, file); |
980 | if (ret) | 980 | if (ret) |
981 | return ret; | 981 | return ret; |
982 | 982 | ||