]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/loop.h
include of <linux/types.h> is preferred over <asm/types.h>
[linux-2.6-omap-h63xx.git] / include / linux / loop.h
index 191a595055f0063db70032a2074d8addb5eb0ad9..6ffd6db5bb0d746c2a92deb358c450b2989b5c61 100644 (file)
@@ -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,10 +76,11 @@ struct loop_device {
 enum {
        LO_FLAGS_READ_ONLY      = 1,
        LO_FLAGS_USE_AOPS       = 2,
+       LO_FLAGS_AUTOCLEAR      = 4,
 };
 
 #include <asm/posix_types.h>   /* for __kernel_old_dev_t */
-#include <asm/types.h>         /* for __u64 */
+#include <linux/types.h>       /* for __u64 */
 
 /* Backwards compatibility version */
 struct loop_info {