Merge to kernel-2.6.20-1.2949.fc6.vs2.2.0.1
[linux-2.6.git] / include / linux / raid / linear.h
index e951b2b..ba15469 100644 (file)
@@ -11,16 +11,13 @@ struct dev_info {
 
 typedef struct dev_info dev_info_t;
 
-struct linear_hash
-{
-       dev_info_t *dev0, *dev1;
-};
-
 struct linear_private_data
 {
-       struct linear_hash      *hash_table;
-       dev_info_t              *smallest;
-       int                     nr_zones;
+       struct linear_private_data *prev;       /* earlier version */
+       dev_info_t              **hash_table;
+       sector_t                hash_spacing;
+       sector_t                array_size;
+       int                     preshift; /* shift before dividing by hash_spacing */
        dev_info_t              disks[0];
 };