From d4d9b4c5ed0e9137d094a48f06804de988fcd312 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Sun, 12 Sep 2010 20:28:47 +0000 Subject: [PATCH] I think this fixes the problem Vlad had after he reworked scst_local.c but he seems to have removed the setting of hpnt->max_id, so it seems the default is 7. Set it to 0 because we only want one ID on the device, and we don't do any checking ... git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2110 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst_local/scst_local.c | 1 + 1 file changed, 1 insertion(+) diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index f8d9b202c..442a05a1d 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -1403,6 +1403,7 @@ static int scst_local_driver_probe(struct device *dev) sess->shost = hpnt; + hpnt->max_id = 0; /* Don't want more than one id */ hpnt->max_lun = 0xFFFF; /*