[stgt] [PATCH V2 2/8] For each lld save the list of targets using it

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Sun Jul 29 10:01:14 CEST 2012


On Sat, 28 Jul 2012 22:43:13 +0300
Roi Dayan <roi.dayan at gmail.com> wrote:

> > On Wed, 18 Jul 2012 12:36:09 +0300
> > Roi Dayan <roid at mellanox.com> wrote:
> >
> >> Signed-off-by: Roi Dayan <roid at mellanox.com>
> >> ---
> >>  usr/driver.h |    2 ++
> >>  usr/target.c |    4 ++++
> >>  usr/target.h |    2 ++
> >>  usr/tgtd.c   |    2 ++
> >>  4 files changed, 10 insertions(+), 0 deletions(-)
> >
> > This is only for tgtadm show option? If so, you really need this?
> 
> 
> This is also for not allowing to remove an lld in case there are
> targets using it.

I see. Thanks. I applied the rest patches however I got the following
compile error:

tgtadm.c: In function ‘str_to_mode’:
tgtadm.c:412: error: ‘MODE_STATS’ undeclared (first use in this
function)
tgtadm.c:412: error: (Each undeclared identifier is reported only once
tgtadm.c:412: error: for each function it appears in.)
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list