mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 11:41:26 +00:00
scst_local: Restore support for detecting LUN 16383 via a sequential scan (merge r5820 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6073 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1684,7 +1684,7 @@ static int scst_local_driver_probe(struct device *dev)
|
||||
sess->shost = hpnt;
|
||||
|
||||
hpnt->max_id = 1; /* Don't want more than one id */
|
||||
hpnt->max_lun = SCST_MAX_LUN;
|
||||
hpnt->max_lun = SCST_MAX_LUN + 1;
|
||||
|
||||
/*
|
||||
* Because of a change in the size of this field at 2.6.26
|
||||
|
||||
Reference in New Issue
Block a user