ext4: clear lockdep subtype for quota files on quota off
[sfrench/cifs-2.6.git] / ipc / mqueue.c
index 7a2d8f0c8ae506d631bf3fc455f53b042ef29401..e8d41ff57241d86e6c2aa0c46e6408897491256e 100644 (file)
@@ -35,6 +35,9 @@
 #include <linux/ipc_namespace.h>
 #include <linux/user_namespace.h>
 #include <linux/slab.h>
+#include <linux/sched/wake_q.h>
+#include <linux/sched/signal.h>
+#include <linux/sched/user.h>
 
 #include <net/sock.h>
 #include "util.h"
@@ -558,6 +561,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;