diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2009-09-17 13:48:00 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-10-01 21:15:43 +0200 |
commit | 39ccf9a645dbca7f9866317380912327570787c0 (patch) | |
tree | 6b6a8217c4e2997694738b91b410fe37573688a9 /drivers/block/cciss.h | |
parent | 983333cb0c445c56808502461bbb34876c63eb2b (diff) | |
download | linux-39ccf9a645dbca7f9866317380912327570787c0.tar.gz linux-39ccf9a645dbca7f9866317380912327570787c0.tar.xz |
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 { }; typedef struct _drive_info_struct { - __u32 LunID; + unsigned char LunID[8]; int usage_count; struct request_queue *queue; sector_t nr_blocks; |