diff options
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/shm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -482,7 +482,7 @@ static int newseg(struct ipc_namespace *ns, struct ipc_params *params) | |||
482 | /* hugetlb_file_setup applies strict accounting */ | 482 | /* hugetlb_file_setup applies strict accounting */ |
483 | if (shmflg & SHM_NORESERVE) | 483 | if (shmflg & SHM_NORESERVE) |
484 | acctflag = VM_NORESERVE; | 484 | acctflag = VM_NORESERVE; |
485 | file = hugetlb_file_setup(name, size, acctflag, | 485 | file = hugetlb_file_setup(name, 0, size, acctflag, |
486 | &shp->mlock_user, HUGETLB_SHMFS_INODE); | 486 | &shp->mlock_user, HUGETLB_SHMFS_INODE); |
487 | } else { | 487 | } else { |
488 | /* | 488 | /* |