[stgt] [PATCH] mgmt: fixed -m system -o delete handling

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Fri Jun 29 00:48:58 CEST 2012


On Thu, 28 Jun 2012 19:56:04 +0300
Roi Dayan <roid at mellanox.com> wrote:

> system_active was reset only in case when mgmt response was carrying data.
> In case of deleting system, response code was returned in err field of the header
> therefore system was not shut down.
> 
> Signed-off-by: Alexander Nezhinsky <alexandern at mellanox.com>
> Signed-off-by: Roi Dayan <roid at mellanox.com>
> ---
> 
> Hi Tomo,
> 
> This patch will fix shut down of the system with
> tgtadm -m system -o delete
> 
> which otherwise gets stuck.
> 
> Thanks,
> Roi
> 
> 
>  usr/mgmt.c |    9 +++------
>  1 files changed, 3 insertions(+), 6 deletions(-)

Applied, thanks!

--
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