X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Floop.h;h=26a0a103898f15bd755a7df696e3b9c52ec717cb;hb=7616ee95f27a04fd5a6434e9ef4a82cec4b2807c;hp=e76c7611d6cc56e115ad71a49aa25861cc2208f6;hpb=4bbf7bc4c7bf1c80ec3c942fa5f1b6e6fa67dd99;p=linux-2.6 diff --git a/include/linux/loop.h b/include/linux/loop.h index e76c7611d6..26a0a10389 100644 --- a/include/linux/loop.h +++ b/include/linux/loop.h @@ -59,12 +59,13 @@ struct loop_device { struct bio *lo_bio; struct bio *lo_biotail; int lo_state; - struct completion lo_done; - struct completion lo_bh_done; struct mutex lo_ctl_mutex; - int lo_pending; + struct task_struct *lo_thread; + wait_queue_head_t lo_event; - request_queue_t *lo_queue; + struct request_queue *lo_queue; + struct gendisk *lo_disk; + struct list_head lo_list; }; #endif /* __KERNEL__ */