projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: avoid repeated anon_vma lock/unlock sequences in unlink_anon_vmas()
[firefly-linux-kernel-4.4.55.git]
/
ipc
/
shm.c
diff --git
a/ipc/shm.c
b/ipc/shm.c
index 729acb7e31487f67660a3202d818f1f55b4fd6e5..ab3385a21b27ac9b528ea270f2d4567522d2c966 100644
(file)
--- a/
ipc/shm.c
+++ b/
ipc/shm.c
@@
-347,7
+347,7
@@
static int newseg(struct ipc_namespace *ns, struct ipc_params *params)
struct file * file;
char name[13];
int id;
-
in
t acctflag = 0;
+
vm_flags_
t acctflag = 0;
if (size < SHMMIN || size > ns->shm_ctlmax)
return -EINVAL;