ipc/mqueue: add missing sparse annotation
authorLuc Van Oostenryck <[email protected]>
Mon, 27 Feb 2017 22:28:21 +0000 (14:28 -0800)
committerLinus Torvalds <[email protected]>
Tue, 28 Feb 2017 02:43:46 +0000 (18:43 -0800)
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Luc Van Oostenryck <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
ipc/mqueue.c

index 7a2d8f0c8ae506d631bf3fc455f53b042ef29401..4fdd970314315a6cd29df52902a12759aff41869 100644 (file)
@@ -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;