Merge tag 'char-misc-3.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / loop.h
index 6492181..460b60f 100644 (file)
@@ -53,10 +53,13 @@ struct loop_device {
 
        spinlock_t              lo_lock;
        struct bio_list         lo_bio_list;
+       unsigned int            lo_bio_count;
        int                     lo_state;
        struct mutex            lo_ctl_mutex;
        struct task_struct      *lo_thread;
        wait_queue_head_t       lo_event;
+       /* wait queue for incoming requests */
+       wait_queue_head_t       lo_req_wait;
 
        struct request_queue    *lo_queue;
        struct gendisk          *lo_disk;