X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=include%2Flinux%2Floop.h;h=46169a7b559b9ebacd3e53c777a692008e4cb37f;hb=3dbfd0801bbbaf2800d7497d83d743a614430e82;hp=191a595055f0063db70032a2074d8addb5eb0ad9;hpb=db1a19b38f3a85f475b4ad716c71be133d8ca48e;p=cascardo%2Flinux.git diff --git a/include/linux/loop.h b/include/linux/loop.h index 191a595055f0..46169a7b559b 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 */