do_shmat(): grab shp->shm_file earlier, switch to alloc_file_clone()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 17 Jun 2018 16:24:00 +0000 (12:24 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 12 Jul 2018 14:04:28 +0000 (10:04 -0400)
commit4f089acc5f76ab1dff17b5f0be7608671a8441dc
treeb1350378a7669fd4cfdb311759d3642f1f179c0b
parent183266f26f45a47958afb5c9aa1b3d4651e2eb8c
do_shmat(): grab shp->shm_file earlier, switch to alloc_file_clone()

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
ipc/shm.c