X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=ipc%2Fshm.c;h=9eb1488b543bc9e8ae419035a86e489e9bf4c8c6;hb=2b474ad8473f57c2930b2bda6c397c3aa8d97896;hp=30162a59621a03e0dab4c58d1102196928b56912;hpb=d093d70a81b08673d1577ad73419998f02be9d29;p=karo-tx-linux.git diff --git a/ipc/shm.c b/ipc/shm.c index 30162a59621a..9eb1488b543b 100644 --- a/ipc/shm.c +++ b/ipc/shm.c @@ -370,7 +370,7 @@ static int newseg(struct ipc_namespace *ns, struct ipc_params *params) if (shmflg & SHM_NORESERVE) acctflag = VM_NORESERVE; file = hugetlb_file_setup(name, size, acctflag, - &shp->mlock_user); + &shp->mlock_user, HUGETLB_SHMFS_INODE); } else { /* * Do not allow no accounting for OVERCOMMIT_NEVER, even