scst_local: Change max_lun into SCST_MAX_LUN (16383) (merge r5785 from trunk)

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6071 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-02-10 14:36:58 +00:00
parent f7c66dea1a
commit 86c9b76489

View File

@@ -1684,7 +1684,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 = -1ll;
hpnt->max_lun = SCST_MAX_LUN;
/*
* Because of a change in the size of this field at 2.6.26