aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.h
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2009-09-17 14:48:00 -0400
committerJens Axboe <jens.axboe@oracle.com>2009-10-01 15:15:43 -0400
commit39ccf9a645dbca7f9866317380912327570787c0 (patch)
tree6b6a8217c4e2997694738b91b410fe37573688a9 /drivers/block/cciss.h
parent983333cb0c445c56808502461bbb34876c63eb2b (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.h2
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};
31typedef struct _drive_info_struct 31typedef 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;