X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Floop.h;h=46169a7b559b9ebacd3e53c777a692008e4cb37f;hb=c000131c711f68cb68712e6553ddce5fa6ad5c5c;hp=191a595055f0063db70032a2074d8addb5eb0ad9;hpb=59458f40e25915a355d8b1d701425fe9f4f9ea23;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 */