summaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.h
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2009-09-17 13:48:00 -0500
committerJens Axboe <jens.axboe@oracle.com>2009-10-01 21:15:43 +0200
commit39ccf9a645dbca7f9866317380912327570787c0 (patch)
tree6b6a8217c4e2997694738b91b410fe37573688a9 /drivers/block/cciss.h
parent983333cb0c445c56808502461bbb34876c63eb2b (diff)
downloadop-kernel-dev-39ccf9a645dbca7f9866317380912327570787c0.zip
op-kernel-dev-39ccf9a645dbca7f9866317380912327570787c0.tar.gz
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 9679342..5188f71 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;
OpenPOWER on IntegriCloud