summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-02-27 23:28:21 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2017-02-28 03:43:46 +0100
commiteac0b1c3681676f83d154915723f2853c38d5d1b (patch)
treee5b161c5b5571f2b30afa83de5fdd95330b2a538
parentipc/sem: add hysteresis (diff)
downloadlinux-eac0b1c3681676f83d154915723f2853c38d5d1b.tar.xz
linux-eac0b1c3681676f83d154915723f2853c38d5d1b.zip
ipc/mqueue: add missing sparse annotation
Link: http://lkml.kernel.org/r/20170128235704.45302-1-luc.vanoostenryck@gmail.com Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--ipc/mqueue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c
index 7a2d8f0c8ae5..4fdd97031431 100644
--- a/ipc/mqueue.c
+++ b/ipc/mqueue.c
@@ -558,6 +558,7 @@ static void wq_add(struct mqueue_inode_info *info, int sr,
*/
static int wq_sleep(struct mqueue_inode_info *info, int sr,
ktime_t *timeout, struct ext_wait_queue *ewp)
+ __releases(&info->lock)
{
int retval;
signed long time;