ipc/shm: some shmat cleanups
authorDavidlohr Bueso <dave@stgolabs.net>
Mon, 8 May 2017 22:57:03 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 May 2017 00:15:12 +0000 (17:15 -0700)
commitf0cb88026f51a0d8c952cf5e09e1933ef10b50b4
tree734ec3b8c74c2e6915d4dcfb16ea3cb2432e4c50
parent046aa1265f08d8400bd4b63171238c9daba15ec3
ipc/shm: some shmat cleanups

Clean up early flag and address some minutia.

Link: http://lkml.kernel.org/r/1486673582-6979-3-git-send-email-dave@stgolabs.net
Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/shm.c