block: move existing elevator ops to union
[sfrench/cifs-2.6.git] / include / linux / elevator.h
index b276e9ef0e0b4d482312217a31d9c4a4f2416f84..2a9e966eed03daac81cf2d8a850d15ea4e5eacc1 100644 (file)
@@ -94,7 +94,9 @@ struct elevator_type
        struct kmem_cache *icq_cache;
 
        /* fields provided by elevator implementation */
-       struct elevator_ops ops;
+       union {
+               struct elevator_ops sq;
+       } ops;
        size_t icq_size;        /* see iocontext.h */
        size_t icq_align;       /* ditto */
        struct elv_fs_entry *elevator_attrs;