ipc/mqueue: add missing sparse annotation
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Mon, 27 Feb 2017 22:28:21 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Feb 2017 02:43:46 +0000 (18:43 -0800)
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>
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;