[Stgt-devel] Small inconsistency in ssc.c
Thu Jul 31 23:42:37 CEST 2008
On Fri, Aug 1, 2008 at 2:30 AM, Richard Sharpe
<realrichardsharpe at gmail.com> wrote:
> I just noticed this ...
> ssc = zalloc(sizeof(struct ssc_info));
> if (ssc)
> dtype_priv(lu) = ssc;
> return -ENOMEM;
> if (spc_lu_init(lu))
> return TGTADM_NOMEM;
> What should be returned during the creation of an LU?
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..
More information about the stgt