diff options
Diffstat (limited to 'mm/mremap.c')
-rw-r--r-- | mm/mremap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/mremap.c b/mm/mremap.c index 8ea5c2412c6e..08e3c7f2bd15 100644 --- a/mm/mremap.c +++ b/mm/mremap.c | |||
@@ -291,7 +291,7 @@ unsigned long do_mremap(unsigned long addr, | |||
291 | if ((addr <= new_addr) && (addr+old_len) > new_addr) | 291 | if ((addr <= new_addr) && (addr+old_len) > new_addr) |
292 | goto out; | 292 | goto out; |
293 | 293 | ||
294 | ret = security_file_mmap(0, 0, 0, 0, new_addr, 1); | 294 | ret = security_file_mmap(NULL, 0, 0, 0, new_addr, 1); |
295 | if (ret) | 295 | if (ret) |
296 | goto out; | 296 | goto out; |
297 | 297 | ||
@@ -399,7 +399,7 @@ unsigned long do_mremap(unsigned long addr, | |||
399 | goto out; | 399 | goto out; |
400 | } | 400 | } |
401 | 401 | ||
402 | ret = security_file_mmap(0, 0, 0, 0, new_addr, 1); | 402 | ret = security_file_mmap(NULL, 0, 0, 0, new_addr, 1); |
403 | if (ret) | 403 | if (ret) |
404 | goto out; | 404 | goto out; |
405 | } | 405 | } |