diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -545,7 +545,7 @@ static int newseg(struct ipc_namespace *ns, struct ipc_params *params) | |||
545 | if ((shmflg & SHM_NORESERVE) && | 545 | if ((shmflg & SHM_NORESERVE) && |
546 | sysctl_overcommit_memory != OVERCOMMIT_NEVER) | 546 | sysctl_overcommit_memory != OVERCOMMIT_NEVER) |
547 | acctflag = VM_NORESERVE; | 547 | acctflag = VM_NORESERVE; |
548 | file = shmem_file_setup(name, size, acctflag); | 548 | file = shmem_kernel_file_setup(name, size, acctflag); |
549 | } | 549 | } |
550 | error = PTR_ERR(file); | 550 | error = PTR_ERR(file); |
551 | if (IS_ERR(file)) | 551 | if (IS_ERR(file)) |