On Fri, Aug 1, 2008 at 2:30 AM, Richard Sharpe <realrichardsharpe at gmail.com> wrote: > Hi, > > I just noticed this ... > > ssc = zalloc(sizeof(struct ssc_info)); > if (ssc) > dtype_priv(lu) = ssc; > else > return -ENOMEM; > > if (spc_lu_init(lu)) > return TGTADM_NOMEM; > > What should be returned during the creation of an LU? Good spotting.. Attached is a patch to fix this. (Sorry for the attachment but I don't have pop/imap access) It's a one liner.. Included in-line - you never know maybe cut/paste between vim & firefox 3 on Windows won't destroy the tabs.. |