X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Floop.h;h=46169a7b559b9ebacd3e53c777a692008e4cb37f;hb=c6b96d195a0fd132d6e8c783216d1d3f686e5ba8;hp=191a595055f0063db70032a2074d8addb5eb0ad9;hpb=97d41e90fe61399b99d74820cb7f2d6e0fbac91d;p=linux-2.6 diff --git a/include/linux/loop.h b/include/linux/loop.h index 191a595055..46169a7b55 100644 --- a/include/linux/loop.h +++ b/include/linux/loop.h @@ -63,7 +63,9 @@ struct loop_device { 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__ */ @@ -74,6 +76,7 @@ struct loop_device { enum { LO_FLAGS_READ_ONLY = 1, LO_FLAGS_USE_AOPS = 2, + LO_FLAGS_AUTOCLEAR = 4, }; #include /* for __kernel_old_dev_t */