diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2009-09-17 14:48:00 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-10-01 15:15:43 -0400 |
commit | 39ccf9a645dbca7f9866317380912327570787c0 (patch) | |
tree | 6b6a8217c4e2997694738b91b410fe37573688a9 /drivers/block/cciss.h | |
parent | 983333cb0c445c56808502461bbb34876c63eb2b (diff) |
cciss: Preserve all 8 bytes of LUN ID for logical drives.
Preserve all 8 bytes of the LunID field returned
by CCISS_REPORT_LOGICAL instead of only saving 4 bytes.
This fixes a bug with logical volume addressing encountered on
an MSA2012.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/cciss.h')
-rw-r--r-- | drivers/block/cciss.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/cciss.h b/drivers/block/cciss.h index 96793425688e..5188f713d1b0 100644 --- a/drivers/block/cciss.h +++ b/drivers/block/cciss.h | |||
@@ -30,7 +30,7 @@ struct access_method { | |||
30 | }; | 30 | }; |
31 | typedef struct _drive_info_struct | 31 | typedef struct _drive_info_struct |
32 | { | 32 | { |
33 | __u32 LunID; | 33 | unsigned char LunID[8]; |
34 | int usage_count; | 34 | int usage_count; |
35 | struct request_queue *queue; | 35 | struct request_queue *queue; |
36 | sector_t nr_blocks; | 36 | sector_t nr_blocks; |