]> git.baikalelectronics.ru Git - kernel.git/commit
sysvipc: duplicate lock comments wrt ipc_addid()
authorDavidlohr Bueso <dave@stgolabs.net>
Fri, 17 Nov 2017 23:31:11 +0000 (15:31 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Nov 2017 00:10:04 +0000 (16:10 -0800)
commit39c96a1b96a5991b1c9e79b85a8d74ef93b36026
tree5bd92209fad8d1a35f9a7720829204862ad29723
parentb8fd99838435f9b420c3e848192bd43abc648b7f
sysvipc: duplicate lock comments wrt ipc_addid()

The comment in msgqueues when using ipc_addid() is quite useful imo.
Duplicate it for shm and semaphores.

Link: http://lkml.kernel.org/r/20170831172049.14576-3-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/sem.c
ipc/shm.c