[Stgt-devel] Small inconsistency in ssc.c

Richard Sharpe realrichardsharpe
Thu Jul 31 18:30:59 CEST 2008


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?



More information about the stgt mailing list