[stgt] [PATCH] bs_sheepdog.c: fix pthread rwlock leak in sd_io()

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Fri Nov 1 01:46:18 CET 2013


On Thu, 31 Oct 2013 10:31:27 +0900
Ryusuke Konishi <konishi.ryusuke at lab.ntt.co.jp> wrote:

> The current sd_io function exits without unlocking pthread rwlock in
> the error path.  This fixes the leak bug.
> 
> Signed-off-by: Ryusuke Konishi <konishi.ryusuke at lab.ntt.co.jp>
> ---
>  usr/bs_sheepdog.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

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