On Sun, Jul 29, 2012 at 11:01 AM, FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> wrote: > On Sat, 28 Jul 2012 22:43:13 +0300 > Roi Dayan <roi.dayan@xxxxxxxxx> wrote: > >> > On Wed, 18 Jul 2012 12:36:09 +0300 >> > Roi Dayan <roid@xxxxxxxxxxxx> wrote: >> > >> >> Signed-off-by: Roi Dayan <roid@xxxxxxxxxxxx> >> >> --- >> >> 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.) Sorry, merge mistake when I rebased over the stats patch and no idea how I missed this compilation error. I'm sending a fixed patch in another email [PATCH V3 3/8] tgt-admin: add option to restart llds Thanks, Roi -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html