author: Vasily Averin <vvs@virtuozzo.com> 2021-09-11 10:40:08 +0300
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-09-14 10:22:11 -0700
commit: 6a4746ba06191e23d30230738e94334b26590a8a
parent: 1619b69edce14c4a4665fa8ff4c587dcc77202a9
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/ipc/sem.c b/ipc/sem.c
index f833238df1ce..6693daf4fe11 100644
--- a/ipc/sem.c
+++ b/ipc/sem.c
@@ -2238,7 +2238,7 @@ static long do_semtimedop(int semid, struct sembuf __user *tsops,
return -EINVAL;
if (nsops > SEMOPM_FAST) {
- sops = kvmalloc_array(nsops, sizeof(*sops), GFP_KERNEL_ACCOUNT);
+ sops = kvmalloc_array(nsops, sizeof(*sops), GFP_KERNEL);
if (sops == NULL)
return -ENOMEM;
}